8234894: [TESTBUG] TestEliminateLocksOffCrash fails for client VMs due to Unrecognized VM option EliminateLocks
Reviewed-by: thartmann
--- a/test/hotspot/jtreg/compiler/escapeAnalysis/TestEliminateLocksOffCrash.java Mon Nov 04 16:10:39 2019 +0800
+++ b/test/hotspot/jtreg/compiler/escapeAnalysis/TestEliminateLocksOffCrash.java Thu Nov 28 16:11:44 2019 +0100
@@ -25,6 +25,7 @@
* @test
* @bug 8227384
* @summary C2 compilation fails with "graph should be schedulable" when running with -XX:-EliminateLocks
+ * @requires vm.compiler2.enabled & !vm.graal.enabled
*
* @run main/othervm -XX:-EliminateLocks TestEliminateLocksOffCrash
*/