RFR(S): 8223138: Small clean-up in loop-tree support.

Patric Hedlin patric.hedlin at oracle.com
Fri May 3 08:42:19 UTC 2019


Thanks Nils.

/Patric

On 03/05/2019 10:40, Nils Eliasson wrote:
> Looks good!
>
> Regards,
>
> Nils
>
> On 2019-04-30 19:25, Patric Hedlin wrote:
>> Thanks Vladimir.
>>
>> On 2019-04-30 18:45, Vladimir Ivanov wrote:
>>> Looks good.
>>>
>>> Small nit: I find original version of IdealLoopTree::tail() easier 
>>> to read. What do you think about the folloing?
>>>
>>> inline Node* IdealLoopTree::tail() {
>>>   // Handle lazy update of _tail field
>>>   if (_tail->in(0) == NULL) {
>>>     _tail = _phase->get_ctrl(n);
>>>   }
>>>   return _tail;
>>> }
>>>
>> Sure, I'm fine with a revised "old" version as well.
>>
>> /Patric
>>
>>> Best regards,
>>> Vladimir Ivanov
>>>
>>> On 30/04/2019 07:09, Patric Hedlin wrote:
>>>> Dear all,
>>>>
>>>> I would like to ask for help to review the following change/update:
>>>>
>>>> Issue:  https://bugs.openjdk.java.net/browse/JDK-8223138
>>>> Webrev: http://cr.openjdk.java.net/~phedlin/tr8223138/
>>>>
>>>> 8223138: Small clean-up in loop-tree support.
>>>>
>>>>      Rename predicate 'is_inner()' to 'is_innermost()' to be accurate.
>>>>      Add 'is_root()' predicate for root parent test in loop-tree.
>>>>      Change definition of 'is_loop()' to always lazy-read the tail,
>>>>      since it should never be NULL. Clean-up of 'tail()' definition.
>>>>
>>>>
>>>> Testing: Part of 8216137 (hs-tier1..4, hs-precheckin-comp, 
>>>> Kitchensink24h)
>>>>
>>>>
>>>> Best regards,
>>>> Patric
>>>>



More information about the hotspot-compiler-dev mailing list