< prev index next >
src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.hpp
Print this page
rev 7618 : 8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit
Summary: Making sure committed memory is cleared when re-committed, even if using large pages.
Reviewed-by:
@@ -47,10 +47,14 @@
size_t _page_size;
// Bitmap used for verification of commit/uncommit operations.
BitMap _committed;
+ // For _special spaces we need to keep track if the memory needs to be cleared
+ // on commit or not.
+ BitMap _needs_clear_on_commit;
+
// Indicates that the entire space has been committed and pinned in memory,
// os::commit_memory() or os::uncommit_memory() have no function.
bool _special;
// Indicates whether the committed space should be executable.
< prev index next >