changeset 42:4da971fb0c97

Rephrase some of the diagnostic output.
author shade
date Thu, 08 Aug 2013 16:15:58 +0400
parents 7a3c80c151b5
children 8d8601b7525f
files harness/src/main/java/org/openjdk/jcstress/Main.java harness/src/main/java/org/openjdk/jcstress/Options.java
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/harness/src/main/java/org/openjdk/jcstress/Main.java	Wed Aug 07 17:26:33 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/Main.java	Thu Aug 08 16:15:58 2013 +0400
@@ -58,7 +58,7 @@
             }
         } else {
             if (!VMSupport.tryContended()) {
-                System.out.println("Non-fatal: VM support for @Contended is not enabled. Possible reasons are:\n" +
+                System.out.println("Non-fatal: VM support for @Contended is not enabled, tests might run slower.\nPossible reasons are:\n" +
                         "  1) unsupported JDK, only JDK 8+ is supported; \n" +
                         "  2) -XX:-RestrictContended is missing; \n" +
                         "  3) the jcstress JAR is not added to -Xbootclasspath/a\n");
@@ -67,9 +67,9 @@
             }
 
             if (!VMSupport.tryInit()) {
-                System.out.println("Non-fatal: VM support for online deoptimization is not enabled. Possible reasons are:\n" +
+                System.out.println("Non-fatal: VM support for online deoptimization is not enabled, tests might miss some issues.\nPossible reasons are:\n" +
                         "  1) unsupported JDK, only JDK 8+ is supported; \n" +
-                        "  2) -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI VM options are missing; \n" +
+                        "  2) -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI are missing; \n" +
                         "  3) the jcstress JAR is not added to -Xbootclasspath/a\n");
             } else {
                 System.out.println("VM support is initialized.\n");
--- a/harness/src/main/java/org/openjdk/jcstress/Options.java	Wed Aug 07 17:26:33 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/Options.java	Thu Aug 08 16:15:58 2013 +0400
@@ -238,7 +238,7 @@
     private int figureOutHotCPUs() {
         ExecutorService service = Executors.newCachedThreadPool();
 
-        System.out.print("Figuring out CPU count...");
+        System.out.print("Burning up to figure out the exact CPU count...");
 
         int warmupTime = 1000;
         long lastChange = System.currentTimeMillis();
@@ -278,9 +278,9 @@
 
     public void printSettingsOn(PrintStream out) {
         if (forks > 0) {
-            out.println("[FORKED MODE]");
+            out.println("FORKED MODE");
         } else {
-            out.println("[EMBEDDED MODE]");
+            out.println("EMBEDDED MODE");
         }
         out.printf("  Test preset mode: \"%s\"\n", mode);
         out.printf("  Writing the test results to \"%s\"\n", resultFile);