In the linked issue - JDK-8211425, G1 concurrent marking bitmaps are pinned in memory by calling commit_and_set_special() which was added as part of its implementation.
A better approach would be to create pinned bitmaps during their construction which is currently done in G1CollectedHeap::initialize(). Possible solution is to add an argument to constructors for G1RegionToSpaceMapper and G1PageBasedVirtualSpace.
A better approach would be to create pinned bitmaps during their construction which is currently done in G1CollectedHeap::initialize(). Possible solution is to add an argument to constructors for G1RegionToSpaceMapper and G1PageBasedVirtualSpace.
- relates to
-
JDK-8211425 Allocation of old generation of java heap on alternate memory devices - G1 GC
- Resolved
-
JDK-8256181 Remove Allocation of old generation on alternate memory devices functionality
- Resolved