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

Move vm_weak processing from SystemDictionary to WeakProcessor

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        SystemDictionary::do_unloading presently clears dead entries from vm_weak_oop_storage as an initial step. That should instead be done by the preceeding WeakProcessor usage. Doing so requires some conditionalization of the WeakProcessor, because not all weak reference processing should do it. This change will also make it easy to include vm_weak_oop_storage in a parallelized WeakProcessor.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                coleenp Coleen Phillimore
                Reporter:
                kbarrett Kim Barrett
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: