--- old/src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp 2019-02-25 16:57:06.135478830 -0500 +++ new/src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp 2019-02-25 16:57:05.727457318 -0500 @@ -227,15 +227,8 @@ _thread_parity(Threads::thread_claim_parity()) {} void do_thread(Thread* thread) { - if (thread->is_Java_thread()) { - if (thread->claim_oops_do(true, _thread_parity)) { - JavaThread* jt = (JavaThread*)thread; - ShenandoahThreadLocalData::satb_mark_queue(jt).apply_closure_and_empty(_satb_cl); - } - } else if (thread->is_VM_thread()) { - if (thread->claim_oops_do(true, _thread_parity)) { - ShenandoahBarrierSet::satb_mark_queue_set().shared_satb_queue()->apply_closure_and_empty(_satb_cl); - } + if (thread->claim_oops_do(true, _thread_parity)) { + ShenandoahThreadLocalData::satb_mark_queue(thread).apply_closure_and_empty(_satb_cl); } } };