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

Add locking in HeapShared::initialize_from_archived_subgraph

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 12
    • hotspot
    • 12

      HeapShared::initialize_from_archived_subgraph(Klass*) is triggered to initialize all classes for objects enclosed in the subgraph(s) (related to the requesting Klass) and install the subgraph(s) back to the requesting Klass's entry fields. Currently all archived subgraphs are initialized and installed during JVM bootstrapping at runtime, no locking is done.

      In the future, with new subgraphs are added to the archive, we probably need to add locking in HeapShared::initialize_from_archived_subgraph(Klass*) to avoid any potential race condition.

            Unassigned Unassigned
            jiangli Jiangli Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: