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

Investigate G1 skipping on-stack nmethod scanning during root processing

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      G1 for all regions maintains a list of all nmethods that have oops into them as "strong code roots".

      Iterating only over those should be sufficient to find all roots into the heap from nmethods in all or most young gcs (maybe concurrent start needs the walk).

      This could decrease GC time significantly in some cases (apps with deep stacks, lots of java threads).

      Investigate this further.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: