Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8059653

VM startup fails with 'Invalid code heap sizes' if -XX:ReservedCodeCacheSize is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b35
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                thartmann Tobias Hartmann
                Reporter:
                thartmann Tobias Hartmann
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: