Disallow reading oops in ClassLoaderData if unloading

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • None
    • b11

      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.

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

              Created:
              Updated:
              Resolved: