JDK-8151168 : G1 mark stack is allocated manually using VirtualSpace methods
Type:Enhancement
Component:hotspot
Sub-Component:gc
Affected Version:9
Priority:P4
Status:Closed
Resolution:Duplicate
Submitted:2016-03-03
Updated:2016-07-13
Resolved:2016-07-13
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.
In G1CMMarkStack::allocate, the mark stack memory is allocated using VirtualSpace memory methods.
Change this code to use an ArrayAllocator, reducing the code size significantly.
Also add (optional) pre-touching.