Currently, heap region iteration uses `HeapRegionClosure`, which accepts a `HeapRegion*`. In some cases, region-index alone is used on the fast path. Retrieving the region index from `HeapRegion*` incurs unnecessary memory access.
JDK-8293210 is an example of such case.
- relates to
-
JDK-8293210 G1: Remove redundant check in G1FreeHumongousRegionClosure
-
- Resolved
-