Reduce CDS core region relocation

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Delivered
    • Priority: P4
    • 23
    • Affects Version/s: 22
    • Component/s: hotspot

      Since JDK-8294323, by default, the CDS archive is mapped at a randomized address (on systems that support ASLR). As a result, the CDS core regions need to be relocated.

      The time spent in relocation can be reduced:

      - By segregating objects that do not have any relocatable pointers. This makes the relocation bitmap scanning more efficient. It also makes some mmaped pages shareable via copy-on-write

      - By changing some data structures from using pointers to using offsets. E.g., DumpTimeLambdaProxyClassInfo and LambdaProxyClassKey

        There are no Sub-Tasks for this issue.

            Assignee:
            Matias Saavedra Silva
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: