changeset 381:51d888199b32

Runners: tune up default deoptRatio.
author shade
date Thu, 02 Mar 2017 21:01:16 +0100
parents 03b52bedec8e
children 1911732f6f23
files jcstress-core/src/main/java/org/openjdk/jcstress/Options.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jcstress-core/src/main/java/org/openjdk/jcstress/Options.java	Thu Mar 02 20:50:10 2017 +0100
+++ b/jcstress-core/src/main/java/org/openjdk/jcstress/Options.java	Thu Mar 02 21:01:16 2017 +0100
@@ -162,7 +162,6 @@
         this.maxStride = orDefault(set.valueOf(maxStride), 10000);
         this.maxFootprint = orDefault(set.valueOf(maxFootprint), 100);
         this.testFilter = orDefault(set.valueOf(testFilter), ".*");
-        this.deoptRatio = orDefault(set.valueOf(deoptRatio), 5);
 
         this.parse = orDefault(set.has(parse), false);
         if (this.parse) {
@@ -229,6 +228,7 @@
         this.iters = orDefault(set.valueOf(iters), this.iters);
         this.forks = orDefault(set.valueOf(forks), this.forks);
         this.batchSize = orDefault(set.valueOf(batchSize), this.batchSize);
+        this.deoptRatio = orDefault(set.valueOf(deoptRatio), this.iters * 3);
 
         if (set.hasArgument(optJvmArgs)) {
             try {