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

ZGC: ZHeapIterator visits armed nmethods with -XX:-ClassUnloading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b22

      Description

      When class unloading is turned off, we visit the all the nmethods in the CodeCache. However, we've only "processed" nmethods on the thread stacks, or visited during a concurrent phase.

      Currently, this bug is benign, since we apply a load barrier to each individual oop.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stefank Stefan Karlsson
              Reporter:
              stefank Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: