hg: code-tools/jcstress: 10 new changesets

aleksey.shipilev at oracle.com aleksey.shipilev at oracle.com
Tue May 10 22:41:49 UTC 2016


Changeset: 2fdbd9f2813c
Author:    shade
Date:      2016-05-10 14:40 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/2fdbd9f2813c

Optimize test runner: coalesce hot zeroing loops.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
+ tests-custom/src/main/java/org/openjdk/jcstress/tests/sample/SampleTest.java

Changeset: f6734c9839bc
Author:    shade
Date:      2016-05-10 20:07 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/f6734c9839bc

Optimize test runner: split the consume work between the actor threads.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/StateHolder.java
! jcstress-core/src/main/java/org/openjdk/jcstress/util/Counter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/util/HashCounter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/util/OpenAddressHashCounter.java

Changeset: 1e942a732f11
Author:    shade
Date:      2016-05-10 20:54 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/1e942a732f11

Optimize test runner: remove unnecessary postConsume work.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/StateHolder.java

Changeset: 8ee502de85b3
Author:    shade
Date:      2016-05-10 21:11 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/8ee502de85b3

Optimize test runner: (don't) use more efficient Atomics

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java

Changeset: a50a13c9f9a9
Author:    shade
Date:      2016-05-10 22:11 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/a50a13c9f9a9

Cut down another generated class by moving everything into Runner itself.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java

Changeset: 70831b9d15b2
Author:    shade
Date:      2016-05-10 22:20 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/70831b9d15b2

Cut down the generated class footprint by removing unnecessary "test" instances.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java

Changeset: 526f1373dcb1
Author:    shade
Date:      2016-05-10 23:53 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/526f1373dcb1

Footprint: coalesce multiple IDs in @Outcomes, condense the test line format.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/TestList.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/util/TestLineReader.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/util/TestLineWriter.java
+ jcstress-core/src/test/java/org/openjdk/jcstress/util/TestLineTest.java
! jcstress-test-gen/src/main/java/org/openjdk/jcstress/generator/seqcst/SeqCstTraceGenerator.java

Changeset: 49d7d2c14b2f
Author:    shade
Date:      2016-05-10 23:58 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/49d7d2c14b2f

Footprint: jcstress-test-gen should not be included in the final artifacts.

! tests-chapter-0b/pom.xml
! tests-chapter-0c/pom.xml
! tests-chapter-1a/pom.xml

Changeset: 905643674ab9
Author:    shade
Date:      2016-05-11 00:45 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/905643674ab9

Generators: lower the generated classes to the same package.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java

Changeset: d81530020d67
Author:    shade
Date:      2016-05-11 01:27 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/d81530020d67

Runner: state output trimming is overly excessive.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ConsoleReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/util/StringUtils.java
+ jcstress-core/src/test/java/org/openjdk/jcstress/util/StringUtilsTest.java
! tests-custom/src/main/java/org/openjdk/jcstress/tests/sample/SampleTest.java



More information about the jcstress-dev mailing list