NPG: ClassMetaspaceSize is used before set in set_ergonomics_flags()

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: hotspot

      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);

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

              Created:
              Updated:
              Resolved: