Relates :
|
Determining the heap region type in G1 is very complicated in G1 right now, basically an if-cascade where order matters. This is due to the region type being distributed across a few members of the HeapRegion data structure. Create an explicit heap region type member, and use that everywhere.