RFR: Relax assert in SBS::is_safe()
Roman Kennke
rkennke at redhat.com
Wed Jan 24 14:12:05 UTC 2018
With traversal I am hitting the assert in SBS::is_safe() (through
weakref discovery) because GC got cancelled and the obj is not in
to-space. It is not a problem with conc-mark because there we don't evac
during marking.
The fix is to fall-through the in_cset() check when GC got cancelled,
and check if there is an actual copy.
http://cr.openjdk.java.net/~rkennke/fixissafe/webrev.00/
Testing: hotspot_gc_shenandoah passes the occasional above failure now.
Good?
Roman
More information about the shenandoah-dev
mailing list