8342074: Fix runtime/Thread/TestAlwaysPreTouchStacks.java to be flagless or accept VM flags
Reviewed-by: gziemski, lmesnik
This commit is contained in:
parent
0054bbed7f
commit
9291abc633
@ -93,7 +93,7 @@ public class TestAlwaysPreTouchStacks {
|
||||
vmArgs.add("-XX:-UseMadvPopulateWrite");
|
||||
}
|
||||
Collections.addAll(vmArgs, "TestAlwaysPreTouchStacks", "test");
|
||||
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(vmArgs);
|
||||
ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder(vmArgs);
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
|
||||
output.shouldHaveExitValue(0);
|
||||
|
Loading…
Reference in New Issue
Block a user