JDK-8162603 : Unrecognized VM option 'UseCountedLoopSafepoints'
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u121,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-07-27
  • Updated: 2017-09-12
  • Resolved: 2016-07-28
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 JDK 9 Other
8u152Fixed 9 b131Fixed openjdk7uFixed
Related Reports
Relates :  
Description
hotspot/test/compiler/loopopts/TestCountedLoopSafepointBackedge.java failed with:

Unrecognized VM option 'UseCountedLoopSafepoints'
Did you mean '(+/-)UseLoopSafepoints'? Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comments
yes, UseCountedLoopSafepoints is c2-only flag, so, test should be fixed to be server-only.
27-07-2016

A simple fix: @requires vm.flavor == "server"
27-07-2016