提交 5f2ab917 编写于 作者: M mgerdin

8037958: ConcurrentMark::cleanup leaks BitMaps if VerifyDuringGC is enabled

Summary: Allocate temporary BitMaps in the VMThread's resource area
Reviewed-by: stefank, sjohanss
上级 b490f5fe
...@@ -2035,8 +2035,8 @@ void ConcurrentMark::cleanup() { ...@@ -2035,8 +2035,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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册