File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/hotspot/share/gc/parallel Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -685,6 +685,9 @@ void PSParallelCompact::post_compact()
685
685
CodeCache::on_gc_marking_cycle_finish ();
686
686
CodeCache::arm_all_nmethods ();
687
687
688
+ // Need to clear claim bits for the next full-gc (marking and adjust-pointers).
689
+ ClassLoaderDataGraph::clear_claimed_marks ();
690
+
688
691
for (unsigned int id = old_space_id; id < last_space_id; ++id) {
689
692
// Clear the marking bitmap, summary data and split info.
690
693
clear_data_covering_space (SpaceId (id));
@@ -1288,9 +1291,6 @@ void PSParallelCompact::marking_phase(ParallelOldTracer *gc_tracer) {
1288
1291
ClassLoaderDataGraph::purge (true /* at_safepoint */ );
1289
1292
DEBUG_ONLY (MetaspaceUtils::verify ();)
1290
1293
}
1291
-
1292
- // Need to clear claim bits for the next mark.
1293
- ClassLoaderDataGraph::clear_claimed_marks ();
1294
1294
}
1295
1295
1296
1296
{
You can’t perform that action at this time.
0 commit comments