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

NPG: ClassMetaspaceSize is used before set in set_ergonomics_flags()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • 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);

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

              Created:
              Updated:
              Resolved: