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

Rename CollectedHeap::is_gc_active to be explicitly about STW GCs

XMLWordPrintable

    • gc
    • b22

        `CollectedHeap::is_gc_active()` is confusing, since its name implies any GC phase is running, while it actually only covers the STW GCs. It would be good to rename it for clarity. The freed-up name, `is_gc_active`, could then be repurposed to track any (concurrent or STW) GC phase running. That would be useful to resolve JDK-8331572.

        Doing this rename separately guarantees we have caught and renamed all current uses.

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

                Created:
                Updated:
                Resolved: