--- old/src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp 2020-05-25 21:23:26.789813734 +0200 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeapRegion.cpp 2020-05-25 21:23:26.477813603 +0200 @@ -626,6 +626,9 @@ if (!heap->commit_bitmap_slice(this)) { report_java_out_of_memory("Unable to commit bitmaps for region"); } + if (AlwaysPreTouch) { + os::pretouch_memory(bottom(), end(), heap->pretouch_heap_page_size()); + } heap->increase_committed(ShenandoahHeapRegion::region_size_bytes()); }