JDK-8189389 : Move heap creation into GC interface
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-10-16
  • Updated: 2017-12-01
  • Resolved: 2017-11-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b34Fixed
Related Reports
Relates :  
Relates :  
Description
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.