@@ -113,13 +113,10 @@ } _generation->set_mark_complete(); end_mark(); - // Mark is finished, can disarm the nmethods now. - ShenandoahCodeRoots::disarm_nmethods(); - assert(task_queues()->is_empty(), "Should be empty"); TASKQUEUE_STATS_ONLY(task_queues()->print_and_reset_taskqueue_stats("")); } void ShenandoahSTWMark::mark_roots(uint worker_id) {