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)
http://cr.openjdk.java.net/~kkharbas/8204908/webrev.02/
http://cr.openjdk.java.net/~kkharbas/8204908/webrev.02_to_01/
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!
Thanks,
Vinay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20180614/c09cb642/attachment.htm>
More information about the hotspot-gc-dev
mailing list