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.
- relates to
-
JDK-8189171 Move GC argument processing into GC specific classes
-
- Resolved
-
-
JDK-8163329 JEP 304: Garbage Collector Interface
-
- Closed
-