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

Allow Klass::_subklass and _next_sibling to have unloaded classes

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b18

      Description


      The Klass::_subklass and _next_sibling fields can have references to unloaded classes if classes are being unloaded concurrently. Also the embedded implementor field in InstanceKlass.

      Allow for skipping unloaded classes if found in these places. Make sure that the Compile_lock is always held, an assert that it's held or safepoint during clean_weak_klass_links.

        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: