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

NPG: ClassMetaspaceSize is used before set in set_ergonomics_flags()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:

      Description

      From Bengt:

      I think there is another circular dependency already present in the code. If you look at max_heap_for_compressed_oops() its implementation uses ClassMetaspaceSize. But this value may be updated a bit later in set_ergonomics_flags():

          FLAG_SET_ERGO(uintx, ClassMetaspaceSize, 100*M);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hseigel Harold Seigel
                Reporter:
                jmasa Jon Masamitsu (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: