Merge
authorcoleenp
Fri, 22 Apr 2016 13:16:57 +0000
changeset 38064 0e7c67a6ad89
parent 38063 93b9ff8b977e (current diff)
parent 38062 430e0a96ef1f (diff)
child 38066 e1d81d22523e
child 38067 74a151d8e51b
child 38083 2ffb46735fec
Merge
--- a/hotspot/src/share/vm/gc/g1/g1CardLiveData.cpp	Fri Apr 22 14:30:58 2016 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1CardLiveData.cpp	Fri Apr 22 13:16:57 2016 +0000
@@ -60,7 +60,7 @@
 }
 
 void G1CardLiveData::free_large_bitmap(bm_word_t* bitmap, size_t size_in_bits) {
-  MmapArrayAllocator<bm_word_t, mtGC>::free(bitmap, size_in_bits / BitsPerWord);
+  MmapArrayAllocator<bm_word_t, mtGC>::free(bitmap, BitMap::calc_size_in_words(size_in_bits));
 }
 
 void G1CardLiveData::initialize(size_t max_capacity, uint num_max_regions) {