diff --git a/test/hotspot/jtreg/compiler/rtm/locking/TestUseRTMXendForLockBusy.java b/test/hotspot/jtreg/compiler/rtm/locking/TestUseRTMXendForLockBusy.java index d3ad95b20fa..0f2a1da6dc3 100644 --- a/test/hotspot/jtreg/compiler/rtm/locking/TestUseRTMXendForLockBusy.java +++ b/test/hotspot/jtreg/compiler/rtm/locking/TestUseRTMXendForLockBusy.java @@ -76,7 +76,7 @@ public class TestUseRTMXendForLockBusy { OutputAnalyzer outputAnalyzer = RTMTestBase.executeRTMTest( test, CommandLineOptionTest.prepareBooleanFlag("UseRTMForStackLocks", - inflateMonitor), + !inflateMonitor), CommandLineOptionTest.prepareBooleanFlag( "UseRTMXendForLockBusy", useXend),