JDK-8059653 : VM startup fails with 'Invalid code heap sizes' if -XX:ReservedCodeCacheSize is set
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The VM fails if -XX:ReservedCodeCacheSize >= 240M is specified:
Invalid code heap sizes: NonMethodCodeHeapSize(5120K) + ProfiledCodeHeapSize(122880K) + NonProfiledCodeHeapSize(117760K) = 245760K. Must be equal to ReservedCodeCacheSize = 262144K.