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

Move Universe roots into OopStorage

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Delivered
    • P3
    • 16
    • 16
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: