8204135: jtreg: Fix failing RTM test TestUseRTMXendForLockBusy
authorgromero
Wed, 20 Jun 2018 22:02:46 +0200
changeset 50687 caa555819dca
parent 50686 2f558e1677fb
child 50688 992a1304517b
child 56799 c274589ad63b
8204135: jtreg: Fix failing RTM test TestUseRTMXendForLockBusy Reviewed-by: goetz, iignatyev
test/hotspot/jtreg/compiler/rtm/locking/TestUseRTMXendForLockBusy.java
--- a/test/hotspot/jtreg/compiler/rtm/locking/TestUseRTMXendForLockBusy.java	Wed Jun 20 12:42:43 2018 -0700
+++ b/test/hotspot/jtreg/compiler/rtm/locking/TestUseRTMXendForLockBusy.java	Wed Jun 20 22:02:46 2018 +0200
@@ -76,7 +76,7 @@
         OutputAnalyzer outputAnalyzer = RTMTestBase.executeRTMTest(
                 test,
                 CommandLineOptionTest.prepareBooleanFlag("UseRTMForStackLocks",
-                        inflateMonitor),
+                        !inflateMonitor),
                 CommandLineOptionTest.prepareBooleanFlag(
                         "UseRTMXendForLockBusy",
                         useXend),