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

Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 9
    • hotspot
    • b01
    • Verified

      We have a start-up benchmark that shows the various is_in_shared_space functions cost more than 1% of total elapsed time.

      After JDK-8072061, all the shared regions are contiguous so we should be able to simplify these functions to a small number of pointer comparisons.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: