mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-30 07:12:41 +00:00
7092140: Test: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails on SE-E due to -XX:-UsePerfData
Add -XX:+UsePerfData to invocation of exec'd JVM Reviewed-by: alanb, chegar
This commit is contained in:
parent
0bc11358bb
commit
7352937e75
@ -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 @@ public class TimedAcquireLeak {
|
||||
String.valueOf(new Random().nextInt(Integer.MAX_VALUE));
|
||||
|
||||
final String[] jobCmd = {
|
||||
java, "-Xmx8m",
|
||||
java, "-Xmx8m", "-XX:+UsePerfData",
|
||||
"-classpath", System.getProperty("test.classes", "."),
|
||||
childClassName, uniqueID
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user