RFR (XS): Relax assert to not fire at safepoint

Roman Kennke rkennke at redhat.com
Tue Mar 7 11:11:08 UTC 2017

We're checking that a non-GC thread going into evacuate_object() does
not hold the Threads_lock to prevent deadlock later.

However, it can happen that the VMThread gets there via
biased-locking-revokation, and this guy does hold the Threads_lock when
it does. It seems ok to me to get there in this case. It will end up
waiting for evacuation to stop, which should also be ok, since we
*don't* stop GC threads on non-GC pauses, and those will eventually turn
off evacuation.




More information about the shenandoah-dev mailing list