Skip to content

Commit 79d0c94

Browse files
dbriemannTheRealMDoerr
authored andcommitted
8352114: New test runtime/interpreter/CountBytecodesTest.java is failing
Reviewed-by: dholmes, mdoerr
1 parent 23e3b3f commit 79d0c94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/runtime/interpreter/CountBytecodesTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @summary Test the output for CountBytecodes and validate that the counter
3030
* does not overflow for more than 2^32 bytecodes counted.
3131
* @library /test/lib
32-
* @run main/othervm/timeout=300 CountBytecodesTest
32+
* @run driver/timeout=300 CountBytecodesTest
3333
*/
3434

3535
import java.util.regex.Matcher;
@@ -61,7 +61,7 @@ public static void main(String args[]) throws Exception {
6161
// while maintaining execution of more than 2^32 bytecodes.
6262
}
6363
} else {
64-
OutputAnalyzer output = ProcessTools.executeTestJava("-Xint", "-XX:+CountBytecodes", "CountBytecodesTest", "test");
64+
OutputAnalyzer output = ProcessTools.executeLimitedTestJava("-Xint", "-XX:+CountBytecodes", "CountBytecodesTest", "test");
6565
output.shouldHaveExitValue(0);
6666

6767
// Output format: [BytecodeCounter::counter_value = 38676232802]

0 commit comments

Comments
 (0)