RFR: 6869327: Add new C2 flag to keep safepoints in counted loops.
Andreas Eriksson
andreas.eriksson at oracle.com
Fri Nov 27 14:54:41 UTC 2015
On 2015-11-27 15:34, Aleksey Shipilev wrote:
> On 11/27/2015 04:48 PM, Andreas Eriksson wrote:
>> On 2015-11-27 14:29, Andreas Eriksson wrote:
>>> On 2015-11-27 14:18, Aleksey Shipilev wrote:
>>>> On 11/27/2015 04:01 PM, Andreas Eriksson wrote:
>>>>> Bug: 6869327: Add new C2 flag to keep safepoints in counted
>>>>> loops. https://bugs.openjdk.java.net/browse/JDK-6869327
>>>>>
>>>>> Webrev:
>>>>> http://cr.openjdk.java.net/~aeriksso/6869327/webrev.00/
>>>> Do I get it right that this logic works good with loop unrolling?
>>>> Can we check?
>>> It should, but verifying it would indeed be good. I'll check and
>>> let you know.
>> The loop from the test gets unrolled and safepointed correctly, like
>> your example. Attached PrintOptoAssembly of the interesting part in
>> case you wish to look at it.
> Ok, great! Thanks for testing. The change looks good to me then.
>
> Cheers,
> -Aleksey
>
>
Thanks.
- Andreas
More information about the hotspot-compiler-dev
mailing list