mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8037958: ConcurrentMark::cleanup leaks BitMaps if VerifyDuringGC is enabled
Allocate temporary BitMaps in the VMThread's resource area Reviewed-by: stefank, sjohanss
This commit is contained in:
parent
63db52b7ed
commit
547e8e4b75
1 changed files with 2 additions and 2 deletions
|
@ -2018,8 +2018,8 @@ void ConcurrentMark::cleanup() {
|
||||||
// that calculated by walking the marking bitmap.
|
// that calculated by walking the marking bitmap.
|
||||||
|
|
||||||
// Bitmaps to hold expected values
|
// Bitmaps to hold expected values
|
||||||
BitMap expected_region_bm(_region_bm.size(), false);
|
BitMap expected_region_bm(_region_bm.size(), true);
|
||||||
BitMap expected_card_bm(_card_bm.size(), false);
|
BitMap expected_card_bm(_card_bm.size(), true);
|
||||||
|
|
||||||
G1ParVerifyFinalCountTask g1_par_verify_task(g1h,
|
G1ParVerifyFinalCountTask g1_par_verify_task(g1h,
|
||||||
&_region_bm,
|
&_region_bm,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue