RFR: 8u40 backport of: 8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit

Stefan Johansson stefan.johansson at oracle.com
Tue Jan 13 16:02:51 UTC 2015


Hi,

Please review this backport of JDK-8062063, it did not apply clean 
because the code for AlwaysPreTouch is not backported to 8u40. Except 
for these lines being absent the changeset for 8u40 is equal to the one 
for 9:
---
    if (AlwaysPreTouch) {
-    os::pretouch_memory((char*)result.start(), (char*)result.end());
+    os::pretouch_memory(page_start(start), page_start(end));
    }
---

8u40 changeset:
http://cr.openjdk.java.net/~sjohanss/8068729/hotspot.00/hotspot.changeset
9 changeset:
http://hg.openjdk.java.net/jdk9/hs-gc/hotspot/raw-rev/00e69efa02c6

Full 8u40 webrev:
http://cr.openjdk.java.net/~sjohanss/8068729/hotspot.00

Thanks,
Stefan


More information about the hotspot-gc-dev mailing list