JDK-8054805 : Update CLI tests on RTM options to reflect changes from JDK-8054376
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u40
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • Submitted: 2014-08-11
  • Updated: 2015-01-21
  • Resolved: 2014-08-11
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 8
8u40 b02Fixed
Related Reports
Blocks :  
Description
JDK-8054376 will make following options 'product':
- UseRTMLocking;
- UseRTMDeopt;
- RTMRetryCount.

Following tests have to be updated to reflect that change:
compiler/rtm/cli/TestRTMRetryCountOption.java
compiler/rtm/cli/TestUseRTMDeoptOnSupportedConfig.java
compiler/rtm/cli/TestUseRTMDeoptOnUnsupportedConfig.java
compiler/rtm/cli/TestUseRTMLockingOptionOnSupportedConfig.java
compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedCPU.java
compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedVM.java
compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java

I think it will be enough to copy the same tests from JDK 9 workspace, where corresponding options were 'product' from the beginning.
Comments
Issue: After integration of JDK-8054376 several RTM-related option will be 'product' and corresponding CLI tests will start failing. Suggested fix: Replace affected tests by the same tests, but from jdk9 ws, where updated options were always 'product'.
11-08-2014