Relates :
|
|
Relates :
|
Currently, the heap is created using a longish if (UseXGC) { .. } else if (UseYGC) {...} chain in universe.cpp Universe::create_heap(). It'd be cleaner to move this functionality into the GC interface. The GC class introduced by JDK-8189171 looks like a perfect fit for it.