RFR(M): 8204908: NVDIMM for POGC and G1GC - ReserveSpace.cpp changes are mostly eliminated/no collector specific code.

Awasthi, Vinay K vinay.k.awasthi at intel.com
Thu Jun 14 20:49:44 UTC 2018

Now ReservedSpace.cpp has logic to only open NVDIMM File (as it was done for AllocateheapAt).. if successful, set up 3 flags (base/nvdimm_present/file handle) at the end. There is *NO* collector specific code.

All work has been moved to g1PagebasedVirtualSpace.cpp.. I am committing memory here and setting dram_heapbase used by g1 here.

JEP to support allocating Old generation on NV-DIMM - https://bugs.openjdk.java.net/browse/JDK-8202286
Here is the implementation bug link: https://bugs.openjdk.java.net/browse/JDK-8204908

Patch is Uploaded at (full patch/incremental patch)
Tested default setup (i.e. no file is being passed for heap) and AllocateHeapAt/AllocateOldGenAt with POGC and G1GC.. all passing...
Any and all comments are welcome!

More information about the hotspot-runtime-dev mailing list