RFR(XS): 8192908: -XX:+UseCountedLoopSafepoints alone doesn't disable strip mining with G1

Tobias Hartmann tobias.hartmann at oracle.com
Wed Dec 6 14:16:33 UTC 2017


Hi Roland,

looks good to me.

Best regards,
Tobias

On 06.12.2017 15:06, Roland Westrelin wrote:
> 
> http://cr.openjdk.java.net/~roland/8192908/webrev.00/
> 
> Running java -XX:+UseCountedLoopSafepoints causes a message to be
> printed:
> 
> warning: When counted loop safepoints are enabled, LoopStripMiningIter must be at least 1 (a safepoint every 1 iteration): setting it to 1
> 
> But the G1 specific code sets LoopStripMiningIter to 1000. This change
> makes sure that -XX:+UseCountedLoopSafepoints disables loop strip
> mining.
> 
> Roland.
> 


More information about the hotspot-compiler-dev mailing list