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

Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: