hg: tsan/dev: Cleanup tests and add lots of new tests
aeubanks at google.com
aeubanks at google.com
Mon Jun 10 17:48:26 UTC 2019
Changeset: 7d807da8698c
Author: aeubanks
Date: 2019-06-03 17:34 -0700
URL: http://hg.openjdk.java.net/tsan/dev/rev/7d807da8698c
Cleanup tests and add lots of new tests
No need for both a jtreg @summary and a class description.
Add tests that test all combinations of racy/non-racy, array/field, bool/byte/char/double/float/int/long/short/String.
Add tests that test that synchronized blocks, and synchronized blocks with an exception are properly handled.
Add test that static initializer block is not considered racy.
Use System.out.println() instead of System.out.format() so that we don't have to specify the right format string.
! test/hotspot/jtreg/tsan/AbstractLoop.java
! test/hotspot/jtreg/tsan/JvmtiTaggerTest.java
+ test/hotspot/jtreg/tsan/NonRacyBooleanArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyBooleanMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyByteArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyByteMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyCharArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyCharMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyDoubleArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyDoubleMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyFloatArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyFloatMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyIntArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyIntMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyLongArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyLongMemberLoopTest.java
! test/hotspot/jtreg/tsan/NonRacyNativeLoopNativeSyncTest.java
! test/hotspot/jtreg/tsan/NonRacyNativeLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyShortArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyShortMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyStaticInitLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyStringArrayLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacyStringMemberLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacySyncBlockExceptionLoopTest.java
+ test/hotspot/jtreg/tsan/NonRacySyncBlockLoopTest.java
! test/hotspot/jtreg/tsan/NonRawRacyNativeLoopTest.java
+ test/hotspot/jtreg/tsan/RacyBooleanArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyBooleanMemberLoopTest.java
+ test/hotspot/jtreg/tsan/RacyByteArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyByteMemberLoopTest.java
+ test/hotspot/jtreg/tsan/RacyCharArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyCharMemberLoopTest.java
+ test/hotspot/jtreg/tsan/RacyDoubleArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyDoubleMemberLoopTest.java
+ test/hotspot/jtreg/tsan/RacyFloatArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyFloatMemberLoopTest.java
+ test/hotspot/jtreg/tsan/RacyIntArrayLoopTest.java
! test/hotspot/jtreg/tsan/RacyIntMemberLoopTest.java
! test/hotspot/jtreg/tsan/RacyIntMemberNoJavaMemLoopTest.java
+ test/hotspot/jtreg/tsan/RacyLongArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyLongMemberLoopTest.java
! test/hotspot/jtreg/tsan/RacyNativeLoopTest.java
+ test/hotspot/jtreg/tsan/RacyShortArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyShortMemberLoopTest.java
+ test/hotspot/jtreg/tsan/RacyStringArrayLoopTest.java
+ test/hotspot/jtreg/tsan/RacyStringMemberLoopTest.java
! test/hotspot/jtreg/tsan/RawRacyNativeLoopTest.java
More information about the tsan-dev
mailing list