Skip to content

Commit

Permalink
Modify test case to use createTestJavaProcessBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaiwei committed Sep 10, 2024
1 parent 8bd9ee1 commit 666ce51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/hotspot/jtreg/compiler/cha/TypeProfileFinalMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/*
* @test
* @summary test c1 to record type profile with CHA optimization
* @requires (vm.opt.TieredStoAtLevel == null | vm.opt.TieredStopAtLevel == 4)
* @requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
* @library /test/lib
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
Expand All @@ -43,7 +43,7 @@

public class TypeProfileFinalMethod {
public static void main(String[] args) throws Exception {
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(
ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder(
"-Xbootclasspath/a:.",
"-Xbatch", "-XX:-UseOnStackReplacement",
"-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI",
Expand Down

0 comments on commit 666ce51

Please sign in to comment.