RFR: 8252103: Parallel heap inspection for ParallelScavengeHeap [v12]

Albert Mingkun Yang ayang at openjdk.java.net
Wed Nov 4 10:15:00 UTC 2020


On Wed, 4 Nov 2020 08:58:54 GMT, Lin Zang <lzang at openjdk.org> wrote:

> it presumes that EdenIndex and SurvivorIndex are fix to be valued as the begining of the indices (0 and 1)

I don't think that's problematic; the assumption, the iteration follows the order of eden, from, to, and old-gen, actually makes the code easier to read, I believe. Having said that, I have no strong opinion on this; it's up to you.

-------------

PR: https://git.openjdk.java.net/jdk/pull/25


More information about the hotspot-gc-dev mailing list