hg: tsan/dev: Suppress some String races

aeubanks at google.com aeubanks at google.com
Mon Jun 24 21:20:11 UTC 2019


Changeset: d2f03281e21d
Author:    aeubanks
Date:      2019-06-23 14:08 -0700
URL:       http://hg.openjdk.java.net/tsan/dev/rev/d2f03281e21d

Suppress some String races

Some common String operations are racy, e.g. hashCode or concatenation.
These races should be suppressed. Since they are in the JDK.
Add a test that calls hashCode() on a const String, and does local String concatenation.

! src/java.base/share/native/launcher/main.c
+ test/hotspot/jtreg/tsan/StringOperationsLoopTest.java



More information about the tsan-dev mailing list