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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Dec 6 16:31:39 UTC 2017


+1

Thanks,
Vladimir

PS: Tobias, please, sponsor it. I have meetings.

On 12/6/17 6:16 AM, Tobias Hartmann wrote:
> 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