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

Disallow reading oops in ClassLoaderData if unloading

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: