RFR (XS) 8223570: Shenandoah needs to acquire lock before CLDG::clear_claimed_marks

Aleksey Shipilev shade at redhat.com
Wed May 8 12:28:08 UTC 2019


On 5/8/19 2:11 PM, Roman Kennke wrote:
> (how has that not failed before? Also, we shall revisit this clear_claimed_marks in traversal. It
> should not be necessary and only extend the traversal.)

Yes. New assert, recently committed. It probably fails silently otherwise. Pushed.

> Roman
> 
>> Bug:
>>    https://bugs.openjdk.java.net/browse/JDK-8223570
>>
>> New assert fails and exposes this legit GC bug. Shenandoah does CLDG::clear_claimed_marks in two
>> places, one under the safepoint (which is fine for that assert), and another one in concurrent
>> thread, which fails.

-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190508/394ece0a/signature.asc>


More information about the hotspot-gc-dev mailing list