RFR (XS): Wrong volatile qualifier for field ClassLoaderDataGraphKlassIteratorAtomic::_next_klass

Siebenborn, Axel axel.siebenborn at sap.com
Fri Mar 6 16:17:22 UTC 2015


Hi,
can I have some reviews for this small change.
It fixes a serious problem as the pointer _next_klass is changed concurrently but not correctly declared as volatile.
The change fixes the declaration and removes an unneeded cast.

bug: https://bugs.openjdk.java.net/browse/JDK-8074561

webrev: http://cr.openjdk.java.net/~asiebenborn/8074561/webrev.00/

I need a sponsor for the change.

Thanks,
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20150306/66c2ee6c/attachment.htm>


More information about the hotspot-gc-dev mailing list