--- jsr166/src/test/tck/JSR166TestCase.java 2015/10/08 23:06:01 1.171 +++ jsr166/src/test/tck/JSR166TestCase.java 2015/10/09 16:24:12 1.173 @@ -193,7 +193,7 @@ public class JSR166TestCase extends Test // Instrumentation to debug very rare, but very annoying hung test runs. static volatile TestCase currentTestCase; - static volatile int currentRun = 0; + // static volatile int currentRun = 0; static { Runnable checkForWedgedTest = new Runnable() { public void run() { // avoid spurious reports with enormous runsPerTest @@ -203,11 +203,11 @@ public class JSR166TestCase extends Test catch (InterruptedException unexpected) { break; } if (lastTestCase == currentTestCase) { System.err.printf( - "Looks like we're stuck running test: %s (%d/%d)%n", - lastTestCase, currentRun, runsPerTest); - System.err.println - ("Looks like we're stuck running test: " - + lastTestCase + " (" + currentRun + "/" + runsPerTest + ")"); + "Looks like we're stuck running test: %s%n", + lastTestCase); +// System.err.printf( +// "Looks like we're stuck running test: %s (%d/%d)%n", +// lastTestCase, currentRun, runsPerTest); System.err.println("availableProcessors=" + Runtime.getRuntime().availableProcessors()); System.err.printf("cpu model = %s%n", cpuModel()); @@ -241,7 +241,7 @@ public class JSR166TestCase extends Test protected void runTest() throws Throwable { for (int i = 0; i < runsPerTest; i++) { - currentRun = i; + // currentRun = i; if (profileTests) runTestProfiled(); else