Skip to content

Commit 1332ba3

Browse files
committed
8256039: Shenandoah: runtime/stringtable/StringTableCleaningTest.java fails
Reviewed-by: shade, rkennke
1 parent 11431b1 commit 1332ba3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hotspot/share/gc/shenandoah/shenandoahParallelCleaning.inline.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ ShenandoahParallelWeakRootsCleaningTask<IsAlive, KeepAlive>::~ShenandoahParallel
5353
if (StringDedup::is_enabled()) {
5454
StringDedup::gc_epilogue();
5555
}
56-
_weak_processing_task.report_num_dead();
56+
if (_include_concurrent_roots) {
57+
_weak_processing_task.report_num_dead();
58+
}
5759
}
5860

5961
template<typename IsAlive, typename KeepAlive>

0 commit comments

Comments
 (0)