RFR: 6869327: Add new C2 flag to keep safepoints in counted loops.

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Nov 27 14:34:19 UTC 2015


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20151127/b7499804/signature.asc>


More information about the hotspot-compiler-dev mailing list