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

Move Universe roots into OopStorage

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Delivered
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot

      Description

      These can go in vm_global() oop storage since they're global and don't change once created.
      Things that need special handling are:
         the mirrors are saved/restored with CDS
         _reference_pending_list is used atomically
         _the_null_sentinel is referenced by generated code

      Universe::oops_do() also calls
         ThreadsSMRSupport::exiting_threads_oops_do(f);

      So removing Universe as a case in all the GCs is blocked on changing Thread::_threadObj to an OopHandle.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: