@@ -124,13 +124,11 @@ // category with a lot of roots, can't let the queue get too // full: (void)_par_scan_state->trim_queues(10 * ParallelGCThreads); } } - if (is_scanning_a_klass()) { - do_klass_barrier(); - } else if (gc_barrier) { + if (gc_barrier) { // Now call parent closure par_do_barrier(p); } } }