Class InfraControlL2
java.lang.Object
org.openjdk.jmh.runner.InfraControlL0
org.openjdk.jmh.runner.InfraControlL1
org.openjdk.jmh.runner.InfraControlL2
- Direct Known Subclasses:
InfraControlL3
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BenchmarkParamsbooleanFlag that checks for time expiration.booleanFlag that checks for failure experienced by any measurement thread.final IterationParamsfinal booleanfinal Controlfinal CountDownLatchfinal CountDownLatchprivate final booleanprivate final intbooleanfinal CountDownLatchbooleanfinal AtomicIntegerfinal CountDownLatchbooleanfinal AtomicInteger -
Constructor Summary
ConstructorsConstructorDescriptionInfraControlL2(BenchmarkParams benchmarkParams, IterationParams iterationParams, CountDownLatch preSetup, CountDownLatch preTearDown, boolean lastIteration, Control notifyControl) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoid
-
Field Details
-
isDone
public volatile boolean isDoneFlag that checks for time expiration. This is specifically the public field, so to spare one virtual call. -
isFailing
public volatile boolean isFailingFlag that checks for failure experienced by any measurement thread. This is specifically the public field, so to spare one virtual call. -
volatileSpoiler
public volatile boolean volatileSpoiler -
preSetup
-
preTearDown
-
lastIteration
public final boolean lastIteration -
warmupVisited
-
warmdownVisited
-
warmupShouldWait
public volatile boolean warmupShouldWait -
warmdownShouldWait
public volatile boolean warmdownShouldWait -
warmupDone
-
warmdownDone
-
benchmarkParams
-
iterationParams
-
notifyControl
-
shouldSynchIterations
private final boolean shouldSynchIterations -
threads
private final int threads
-
-
Constructor Details
-
InfraControlL2
public InfraControlL2(BenchmarkParams benchmarkParams, IterationParams iterationParams, CountDownLatch preSetup, CountDownLatch preTearDown, boolean lastIteration, Control notifyControl)
-
-
Method Details
-
announceWarmupReady
public void announceWarmupReady() -
announceWarmdownReady
public void announceWarmdownReady() -
awaitWarmupReady
public void awaitWarmupReady() -
awaitWarmdownReady
public void awaitWarmdownReady() -
getParam
-