< prev index next >
src/share/vm/gc/shenandoah/vm_operations_shenandoah.cpp
Print this page
rev 12117 : Pin regions that contain JNI critical regions, instead of bail-and-retry protocol.
*** 88,99 ****
_pending_list_locker.unlock();
}
void VM_ShenandoahStartEvacuation::doit() {
! // We need to do the finish mark here, so that a JNI critical region
! // can't divide it from evacuation start. It is critical that we
// evacuate roots right after finishing marking, so that we don't
// get unmarked objects in the roots.
ShenandoahHeap *sh = ShenandoahHeap::heap();
if (! sh->cancelled_concgc()) {
if (ShenandoahGCVerbose)
--- 88,98 ----
_pending_list_locker.unlock();
}
void VM_ShenandoahStartEvacuation::doit() {
! // It is critical that we
// evacuate roots right after finishing marking, so that we don't
// get unmarked objects in the roots.
ShenandoahHeap *sh = ShenandoahHeap::heap();
if (! sh->cancelled_concgc()) {
if (ShenandoahGCVerbose)
< prev index next >