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

G1: Add index based heap region iteration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • hotspot
    • gc
    • b16

      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.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: