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.
Change this code to use an ArrayAllocator, reducing the code size significantly.
Also add (optional) pre-touching.
- duplicates
-
JDK-8151996 Revise mark stack memory management in CMMarkstack
- Open