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

Support archived heap objects in non-G1 garbage collectors

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:

      Description

      Currently only G1 can directly map archived heap objects from CDS.

      It's quite challenging to provide the same level of memory mapping support in every garbage collector. Instead, it would be easier to copy the
      archived objects into the runtime Java heap. Currently, with the default CDS archive we have less than 1MB of archived heap objects, and copying them will be faster than the alternative (running full module initialization).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: