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

Disallow reading oops in ClassLoaderData if unloading

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 11
    • 11
    • hotspot
    • None
    • b11

    Description

      If the ClassLoaderData is unloading, the oops in the ClassLoaderData like _class_loader and the ones in _handles should not be loaded because they will not be valid for concurrent GCs like ZGC.

      For concurrent GCs like ZGC, the _class_loader oop should be read with the OopHandle resolve barrier also.

      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: