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

GCs iterate nmethods on thread stacks with ClassUnloading disabled

XMLWordPrintable

    • gc

      It does not seem necessary to iterate over thread stacks if class unloading is disabled: all references from nmethods to oops on the heap for garbage collection should be reachable via the ClassLoaderDataGraph (via InstanceKlass::_methods). The CLDG is enumerated in full, so all nmethods, including those on the stack should be reachable.

      At least Serial/Parallel and G1 seem to be affected.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: