提交 c64fdb17 编写于 作者: D dholmes

7092140: Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on...

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
上级 09810169
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
* @author Martin Buchholz * @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.*;
import java.util.regex.*; import java.util.regex.*;
import java.util.concurrent.*; import java.util.concurrent.*;
...@@ -148,7 +150,7 @@ public class TimedAcquireLeak { ...@@ -148,7 +150,7 @@ public class TimedAcquireLeak {
String.valueOf(new Random().nextInt(Integer.MAX_VALUE)); String.valueOf(new Random().nextInt(Integer.MAX_VALUE));
final String[] jobCmd = { final String[] jobCmd = {
java, "-Xmx8m", java, "-Xmx8m", "-XX:+UsePerfData",
"-classpath", System.getProperty("test.classes", "."), "-classpath", System.getProperty("test.classes", "."),
childClassName, uniqueID childClassName, uniqueID
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册