JDK-8192977 : LoopStripMiningIter is set to 1000 if UseCountedLoopSafepoints is enabled
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2017-12-04
  • Updated: 2019-09-13
  • Resolved: 2017-12-06
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 10
10Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
java -XX:+UseCountedLoopSafepoints -XX:+PrintFlagsFinal -version | grep LoopStripMiningIter
Java HotSpot(TM) 64-Bit Server VM warning: When counted loop safepoints are enabled, LoopStripMiningIter must be at least 1 (a safepoint every 1 iteration): setting it to 1
    uintx LoopStripMiningIter                      = 1000                                  {C2 product} {default}
    uintx LoopStripMiningIterShortLoop             = 0                                     {C2 product} {default}
java version "10-internal"
Java(TM) SE Runtime Environment (fastdebug build 10-internal+0-adhoc.tobias.open)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 10-internal+0-adhoc.tobias.open, mixed mode)

See also Roland's comment in JDK-8154302.
Comments
ILW = Misleading warning and wrong default value (regression in JDK 10), with -XX:+UseCountedLoopSafepoints, set LoopStripMiningIter explicitly to 1 = MMM = P3
04-12-2017