RFR(T) 8237017: Shenandoah: Remove racy assertion
zgu at redhat.com
Mon Jan 13 15:11:02 UTC 2020
During concurrent weak root processing, it tries to CAS in NULL if the
oop is dead, then asserts that the slot is indeed NULL.
The assertion is racy, because there can be another thread to release
the slot and then reuse it (that's why it uses CAS in the first place),
that can result assertion to fail.
hotspot_gc_shenandoah fastdebug on x86_64 Linux
More information about the hotspot-gc-dev