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

Disallow reading oops in ClassLoaderData if unloading

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • 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.

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

              Created:
              Updated:
              Resolved: