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

Shenandoah: Traversal weak references misses GC phase scope

XMLWordPrintable

    • gc

      Static analysis reveals "phase_process" local variable is unused here:

      void ShenandoahTraversalGC::weak_refs_work_doit() {
        ...

        ShenandoahPhaseTimings::Phase phase_process = ShenandoahPhaseTimings::weakrefs_process;

      Indeed, we are missing ShenandoahGCPhase scope, like ShenandoahConcurrentMark::weak_refs_work_doit() has. New Traversal-specific counter needs to be added, and used with ShenandoahGCPhase here.

            Unassigned Unassigned
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: