From 9291abc6337f8cf480806f4b2996ec905b021704 Mon Sep 17 00:00:00 2001 From: Afshin Zafari Date: Tue, 26 Nov 2024 11:08:34 +0000 Subject: [PATCH] 8342074: Fix runtime/Thread/TestAlwaysPreTouchStacks.java to be flagless or accept VM flags Reviewed-by: gziemski, lmesnik --- test/hotspot/jtreg/runtime/Thread/TestAlwaysPreTouchStacks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/runtime/Thread/TestAlwaysPreTouchStacks.java b/test/hotspot/jtreg/runtime/Thread/TestAlwaysPreTouchStacks.java index d47a07d2dec..06ddaadf91c 100644 --- a/test/hotspot/jtreg/runtime/Thread/TestAlwaysPreTouchStacks.java +++ b/test/hotspot/jtreg/runtime/Thread/TestAlwaysPreTouchStacks.java @@ -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);