Race in ident generation
Aleksey Shipilev
shade at redhat.com
Fri Jan 3 15:36:53 UTC 2020
On 11/26/19 2:08 AM, Stepan Koltsov wrote:
> We cannot reproduce this problem locally (it fails occasionally in our CI).
> So we have a suspicion it is a race inside JMH: when two threads compute
> idents, one of them observes partially initialized IDENTS variable.
Right. This is the race when multiple BenchmarkGenerator-s are running within a single JVM. A rather
unconventional configuration, but the bug nevertheless. Should be fixed as:
https://bugs.openjdk.java.net/browse/CODETOOLS-7902560
--
Thanks,
-Aleksey
More information about the jmh-dev
mailing list