OpenJDK / jdk / hs
changeset 23505:b3c5e757bbb7
8037958: ConcurrentMark::cleanup leaks BitMaps if VerifyDuringGC is enabled
Summary: Allocate temporary BitMaps in the VMThread's resource area
Reviewed-by: stefank, sjohanss
author | mgerdin |
---|---|
date | Wed, 26 Mar 2014 10:54:52 +0100 |
parents | 6636d4e1b042 |
children | 9b98355e9060 |
files | hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp Mon Mar 24 11:25:32 2014 +0100 +++ b/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp Wed Mar 26 10:54:52 2014 +0100 @@ -2018,8 +2018,8 @@ // that calculated by walking the marking bitmap. // Bitmaps to hold expected values - BitMap expected_region_bm(_region_bm.size(), false); - BitMap expected_card_bm(_card_bm.size(), false); + BitMap expected_region_bm(_region_bm.size(), true); + BitMap expected_card_bm(_card_bm.size(), true); G1ParVerifyFinalCountTask g1_par_verify_task(g1h, &_region_bm,