JDK-8204134 : jtreg: Fix RTM abort provoker for various tests after "8149159: Clean up Unsafe"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10,11
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2018-05-31
  • Updated: 2019-05-22
  • Resolved: 2018-06-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b17Fixed
Related Reports
Relates :  
Relates :  
Description
Change 8149159 removed addressSize() as a native method. Native methods are used as transaction abort provokers in RTM test suite. Since addressSize() is currently in use, the following RTM test are failing:

-FAILED: compiler/rtm/locking/TestRTMAbortRatio.java
-FAILED: compiler/rtm/locking/TestRTMAbortThreshold.java
-FAILED: compiler/rtm/locking/TestRTMAfterNonRTMDeopt.java
-FAILED: compiler/rtm/locking/TestRTMDeoptOnHighAbortRatio.java
-FAILED: compiler/rtm/locking/TestRTMDeoptOnLowAbortRatio.java
-FAILED: compiler/rtm/locking/TestRTMLockingThreshold.java
-FAILED: compiler/rtm/locking/TestUseRTMDeopt.java
-FAILED: compiler/rtm/print/TestPrintPreciseRTMLockingStatistics.java
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/72d0baab31bc User: iignatyev Date: 2018-06-03 21:23:12 +0000
03-06-2018

There are other reported problems with the RTM tests. See JDK-8183263 and JDK-8180723. Please check if these are duplicates. ILW = Tests fail because native method was removed (test bug), rtm tests, no workaround = MMH = P3
31-05-2018