RFR (S): 8223177: Data race on JvmtiEnvBase::_tag_map in double-checked locking

Man Cao manc at google.com
Wed May 1 01:51:39 UTC 2019


Hi all,

Can I have reviews for this small change that adds memory fences for
double-checked locking?
We found this race while working on the Java ThreadSanitizer project.

Webrev: https://cr.openjdk.java.net/~manc/8223177/webrev.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8223177

-Man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20190430/9c794a97/attachment.html>


More information about the serviceability-dev mailing list