[8u] RFR (S) 8071374: Native disassembler implementation may be not thread-safe

Andrew Haley aph at redhat.com
Tue Apr 27 08:54:41 UTC 2021

Looks good.

On 4/23/21 10:37 AM, Aleksey Shipilev wrote:
> Original bug:
>    https://bugs.openjdk.java.net/browse/JDK-8071374
>    https://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/116a12504a2f
> This still bites me with 8u JMH runs. The Stress reproducer from the issue also fails without this 
> patch and passes with it.
> Unfortunately, the patch has a few conflicts when applied to 8u:
>    - at times, the context near print_cr-s is different enough for automatic patch to fail;
>    - there are no PrintAssemblyOption in 8u (added later by JEP 165);
>    - there is no jvmciCompilerToVM.cpp (added later by JEP 243);
> 8u webrev:
>    https://cr.openjdk.java.net/~shade/8071374/webrev.8u.01/
> Testing: reproducer from the test (now passes); adhoc JMH perfasm runs (now reliable); hotspot_tier1

Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the jdk8u-dev mailing list