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

Man Cao manc at google.com
Wed Aug 7 19:55:58 UTC 2019


Looks good. Thanks for doing the backport!

-Man


On Wed, Aug 7, 2019 at 3:53 AM Aleksey Shipilev <shade at redhat.com> wrote:

> Original bug:
>   https://bugs.openjdk.java.net/browse/JDK-8223177
>   https://hg.openjdk.java.net/jdk/jdk/rev/27c8a2e0b0e5
>
> This patch applies to 8u, but does not compile, because regular
> OrderAccess methods do not accept
> pointers. We need to use the *_ptr_* versions of the same methods and do
> casts from void*.
>
> 8u webrev:
>   http://cr.openjdk.java.net/~shade/8223177/webrev.8u.01/
>
> Testing: tier1
>
> --
> Thanks,
> -Aleksey
>
>


More information about the jdk8u-dev mailing list