Mercurial > hg > graal-compiler
diff src/share/vm/memory/cardTableRS.cpp @ 20337:1f1d373cd044
8038423: G1: Decommit memory within heap
Summary: Allow G1 to decommit memory of arbitrary regions within the heap and their associated auxiliary data structures card table, BOT, hot card cache, and mark bitmaps.
Reviewed-by: mgerdin, brutisso, jwilhelm
author | tschatzl |
---|---|
date | Thu, 21 Aug 2014 11:47:10 +0200 |
parents | 78bbf4d43a14 |
children | 833b0f92429a |
line wrap: on
line diff
--- a/src/share/vm/memory/cardTableRS.cpp Tue Aug 19 10:50:27 2014 +0200 +++ b/src/share/vm/memory/cardTableRS.cpp Thu Aug 21 11:47:10 2014 +0200 @@ -53,6 +53,7 @@ #else _ct_bs = new CardTableModRefBSForCTRS(whole_heap, max_covered_regions); #endif + _ct_bs->initialize(); set_bs(_ct_bs); _last_cur_val_in_gen = NEW_C_HEAP_ARRAY3(jbyte, GenCollectedHeap::max_gens + 1, mtGC, 0, AllocFailStrategy::RETURN_NULL);