changeset 5118:d4a6627d5004

7092140: Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on SE-E due to -XX:-UsePerfData Summary: Add -XX:+UsePerfData to invocation of exec'd JVM Reviewed-by: alanb, chegar
author dholmes
date Thu, 08 Mar 2012 00:46:33 -0500
parents e8438dc196bb
children 901558acdc3a c2f3fdce1398
files test/java/util/concurrent/locks/Lock/TimedAcquireLeak.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/concurrent/locks/Lock/TimedAcquireLeak.java	Wed Mar 07 10:15:41 2012 +0800
+++ b/test/java/util/concurrent/locks/Lock/TimedAcquireLeak.java	Thu Mar 08 00:46:33 2012 -0500
@@ -28,6 +28,8 @@
  * @author Martin Buchholz
  */
 
+// Note: this file is now out of sync with the jsr166 CVS repository due to the fix for 7092140
+
 import java.util.*;
 import java.util.regex.*;
 import java.util.concurrent.*;
@@ -148,7 +150,7 @@
             String.valueOf(new Random().nextInt(Integer.MAX_VALUE));
 
         final String[] jobCmd = {
-            java, "-Xmx8m",
+            java, "-Xmx8m", "-XX:+UsePerfData",
             "-classpath", System.getProperty("test.classes", "."),
             childClassName, uniqueID
         };