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

Refactor oops in constant pool from CDS to use the Access API

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      CDS allows mapping in objects to the Java heap from archives.
      In particular, the constant pool can load in resolved_references from an archive.
      If this installation of the archived oops happens during, e.g. G1 concurrent marking, then a SATB enqueue barrier is manually performed in order to register that this oop is now strongly reachable, which is a requirement for being allowed to add edges to the oop from the object graph during concurrent marking.

      It would be neat if there was a more GC agnostic way of doing this through the Access API.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: