< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp

Print this page
rev 50919 : Improve scheduling and interleaving of SATB processing in mark loop

*** 1015,1024 **** --- 1015,1028 ---- // Need to leave the STS here otherwise it might block safepoints. SuspendibleThreadSetLeaver stsl(CANCELLABLE && ShenandoahSuspendibleWorkers); if (terminator->offer_termination()) return; } } + os::naked_yield(); + if (DRAIN_SATB) { + try_draining_satb_buffer(q, t); + } } } bool ShenandoahConcurrentMark::process_references() const { return _heap->process_references();
< prev index next >