hg: code-tools/jcstress: 11 new changesets

aleksey.shipilev at oracle.com aleksey.shipilev at oracle.com
Fri May 13 00:20:27 UTC 2016


Changeset: f1395382fbc4
Author:    shade
Date:      2016-05-11 18:50 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/f1395382fbc4

Generators: reshuffle templates.

! jcstress-test-gen/src/main/java/org/openjdk/jcstress/chapters/Chapter0aTestGenerator.java
+ jcstress-test-gen/src/main/resources/accessAtomic/X-ArrayAtomicityTest.java.template
+ jcstress-test-gen/src/main/resources/accessAtomic/X-ArrayLargeAtomicityTest.java.template
+ jcstress-test-gen/src/main/resources/accessAtomic/X-FieldAtomicityTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayAtomicityTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayDefaultValuesTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayInitTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayLargeAtomicityTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayLargeDefaultValuesTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayLargeInitTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayLargeTearingTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-ArrayTearingTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-FieldAtomicityTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-FieldDefaultValuesTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-FieldInitTest.java.template
- jcstress-test-gen/src/main/resources/chapter0a/X-FieldTearingTest.java.template
+ jcstress-test-gen/src/main/resources/defaultValues/X-ArrayDefaultValuesTest.java.template
+ jcstress-test-gen/src/main/resources/defaultValues/X-ArrayLargeDefaultValuesTest.java.template
+ jcstress-test-gen/src/main/resources/defaultValues/X-FieldDefaultValuesTest.java.template
+ jcstress-test-gen/src/main/resources/init/X-ArrayInitTest.java.template
+ jcstress-test-gen/src/main/resources/init/X-ArrayLargeInitTest.java.template
+ jcstress-test-gen/src/main/resources/init/X-FieldInitTest.java.template
+ jcstress-test-gen/src/main/resources/tearing/X-ArrayLargeTearingTest.java.template
+ jcstress-test-gen/src/main/resources/tearing/X-ArrayTearingTest.java.template
+ jcstress-test-gen/src/main/resources/tearing/X-FieldTearingTest.java.template

Changeset: 4768218cfa50
Author:    shade
Date:      2016-05-12 15:01 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/4768218cfa50

Runners: move to auto-detect and auto-enable JVM features, instead of asking users to do that.

! jcstress-core/src/main/java/org/openjdk/jcstress/ForkedMain.java
! jcstress-core/src/main/java/org/openjdk/jcstress/JCStress.java
! jcstress-core/src/main/java/org/openjdk/jcstress/Main.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/Runner.java
- jcstress-core/src/main/java/org/openjdk/jcstress/util/ContendedSupport.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/vm/ContendedTestMain.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/vm/DeoptTestMain.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/vm/SimpleTestMain.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/vm/VMSupport.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/vm/VMSupportException.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/vm/WhiteBoxSupport.java

Changeset: 5349847b972e
Author:    shade
Date:      2016-05-12 15:20 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/5349847b972e

Remove stale VMSupport.

- jcstress-core/src/main/java/org/openjdk/jcstress/util/VMSupport.java

Changeset: 5ce9bc3415f5
Author:    shade
Date:      2016-05-12 18:29 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/5ce9bc3415f5

Runners: fix up WhiteBox API support.

! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/Runner.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/vm/PrivilegedTestMain.java
! jcstress-core/src/main/java/org/openjdk/jcstress/vm/VMSupport.java
! jcstress-core/src/main/java/org/openjdk/jcstress/vm/WhiteBoxSupport.java
! jcstress-core/src/main/java/sun/hotspot/WhiteBox.java
- jcstress-core/src/main/java/sun/hotspot/parser/DiagnosticCommand.java

Changeset: 13d571fe4348
Author:    shade
Date:      2016-05-12 19:41 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/13d571fe4348

Runners: fix up @Contended support for JDK 9.

+ jcstress-core/src/main/java/jdk/internal/vm/annotation/Contended.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/BooleanResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/BooleanResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/BooleanResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ByteResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ByteResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ByteResult3.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ByteResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ByteResult8.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/CharResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/CharResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/CharResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/DoubleResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/DoubleResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/DoubleResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/FloatResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/FloatResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/FloatResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/IntResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/IntResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/IntResult3.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/IntResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/IntResult8.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/LongResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/LongResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/LongResult3.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/LongResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ShortResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ShortResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/ShortResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/StringResult1.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/StringResult2.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/results/StringResult4.java
! jcstress-core/src/main/java/org/openjdk/jcstress/util/Reflections.java
! jcstress-core/src/main/java/org/openjdk/jcstress/vm/ContendedTestMain.java
! jcstress-core/src/main/java/org/openjdk/jcstress/vm/VMSupport.java
! jcstress-test-gen/src/main/java/org/openjdk/jcstress/generator/ResultGenerator.java

Changeset: 0b45beda9932
Author:    shade
Date:      2016-05-12 20:33 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/0b45beda9932

Runners: clean up State handling in test results.

- jcstress-core/src/main/java/org/openjdk/jcstress/infra/State.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/collectors/TestResult.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ConsoleReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ExceptionReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/HTMLReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/TestGrading.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/Runner.java
! jcstress-core/src/main/java/org/openjdk/jcstress/util/HashMultiset.java
- jcstress-core/src/main/java/org/openjdk/jcstress/util/LongHashMultiset.java
! jcstress-core/src/main/java/org/openjdk/jcstress/util/Multiset.java
! jcstress-core/src/main/java/org/openjdk/jcstress/util/Multisets.java

Changeset: 44ed77c659aa
Author:    shade
Date:      2016-05-13 00:41 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/44ed77c659aa

Runners: rebuild the communication between host and client VM.

! jcstress-core/src/main/java/org/openjdk/jcstress/ForkedMain.java
! jcstress-core/src/main/java/org/openjdk/jcstress/JCStress.java
! jcstress-core/src/main/java/org/openjdk/jcstress/Options.java
- jcstress-core/src/main/java/org/openjdk/jcstress/infra/collectors/NetworkInputCollector.java
- jcstress-core/src/main/java/org/openjdk/jcstress/infra/collectors/NetworkOutputCollector.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/collectors/TestResult.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ExceptionReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/HTMLReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/Control.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/Runner.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/TestConfig.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/link/BinaryLinkClient.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/link/BinaryLinkServer.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/link/FinishingFrame.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/link/JobRequestFrame.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/link/JobResponseFrame.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/link/ResultsFrame.java
+ jcstress-core/src/main/java/org/openjdk/jcstress/util/FileUtils.java

Changeset: 4eaeffc68390
Author:    shade
Date:      2016-05-13 01:42 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/4eaeffc68390

Runners: rebuild console logging

! jcstress-core/src/main/java/org/openjdk/jcstress/JCStress.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/collectors/TestResult.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ConsoleReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ExceptionReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/HTMLReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/Runner.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/TestConfig.java

Changeset: 43189e8da359
Author:    shade
Date:      2016-05-13 02:01 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/43189e8da359

Runners: run multiple discovered VM modes

! jcstress-core/src/main/java/org/openjdk/jcstress/JCStress.java
! jcstress-core/src/main/java/org/openjdk/jcstress/Options.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ConsoleReportPrinter.java
! jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/TestConfig.java
! jcstress-core/src/main/java/org/openjdk/jcstress/vm/VMSupport.java

Changeset: 21f3179b8244
Author:    shade
Date:      2016-05-13 02:46 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/21f3179b8244

Runners: reshuffle run profiles and VM modes to probe/use.

! jcstress-core/src/main/java/org/openjdk/jcstress/Options.java
! jcstress-core/src/main/java/org/openjdk/jcstress/vm/VMSupport.java

Changeset: 82422038cf9d
Author:    shade
Date:      2016-05-13 03:18 +0300
URL:       http://hg.openjdk.java.net/code-tools/jcstress/rev/82422038cf9d

Runners: dodge the interface call on Counter.record.

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



More information about the jcstress-dev mailing list