Skip to content

Commit

Permalink
8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
Browse files Browse the repository at this point in the history
Reviewed-by: mli, tschatzl
  • Loading branch information
lkorinth committed Oct 17, 2023
1 parent 7e39e66 commit a949824
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -26,7 +26,7 @@
/*
* @test TestG1ConcRefinementThreads
* @bug 8047976
* @requires vm.gc.G1
* @requires vm.gc.G1 & vm.opt.G1ConcRefinementThreads == null
* @summary Tests argument processing for G1ConcRefinementThreads
* @library /test/lib
* @library /
Expand Down Expand Up @@ -69,7 +69,7 @@ private static void runG1ConcRefinementThreadsTest(String[] passedOpts,
}
Collections.addAll(vmOpts, "-XX:+UseG1GC", "-XX:+PrintFlagsFinal", "-version");

ProcessBuilder pb = GCArguments.createJavaProcessBuilder(vmOpts);
ProcessBuilder pb = GCArguments.createTestJvm(vmOpts);
OutputAnalyzer output = new OutputAnalyzer(pb.start());

output.shouldHaveExitValue(0);
Expand Down

0 comments on commit a949824

Please sign in to comment.