Skip to content

Commit a86cab8

Browse files
TheShermanTankerTobiHartmann
authored andcommitted
8236136: tests which use CompilationMode shouldn't be run w/ TieredStopAtLevel
Reviewed-by: neliasso, kvn, thartmann
1 parent 0af356b commit a86cab8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

test/hotspot/jtreg/compiler/compilercontrol/CompilationModeHighOnlyTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @bug 8233885
27+
* @requires (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
2728
* @summary CompLevel_initial_compile should be CompLevel_full_optimization for high-only mode
2829
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:CompilationMode=high-only
2930
* -XX:CompileCommand=compileonly,java.lang.Object::<init>

test/hotspot/jtreg/compiler/profiling/spectrapredefineclass/Launcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @library /test/lib
2828
* @modules java.base/jdk.internal.misc
2929
* java.instrument
30-
* @requires vm.jvmti
30+
* @requires vm.jvmti & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
3131
* @build compiler.profiling.spectrapredefineclass.Agent
3232
* @run driver jdk.test.lib.helpers.ClassFileInstaller compiler.profiling.spectrapredefineclass.Agent
3333
* @run driver compiler.profiling.spectrapredefineclass.Launcher

test/hotspot/jtreg/compiler/profiling/spectrapredefineclass_classloaders/Launcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @library /test/lib
2828
* @modules java.base/jdk.internal.misc
2929
* java.instrument
30-
* @requires vm.jvmti
30+
* @requires vm.jvmti & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
3131
* @build compiler.profiling.spectrapredefineclass_classloaders.Agent
3232
* compiler.profiling.spectrapredefineclass_classloaders.Test
3333
* compiler.profiling.spectrapredefineclass_classloaders.A

0 commit comments

Comments
 (0)