RFR(M) 8179100: [AOT] Rewrite redundant initialization elimination

Igor Veresov igor.veresov at oracle.com
Fri Apr 21 22:57:35 UTC 2017


> On Apr 21, 2017, at 3:27 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> 
> On 4/21/17 1:55 PM, Igor Veresov wrote:
>> Redundant initialization elimination can be rewritten using the dominator tree visitor pattern. This makes code much more readable. It also now handle the case of the dominating initialization of a subclass. And since now we have more time the phase requires a unit test.
> 
> I don't see unit test.

Yeah, forgot it, webrev updated in-place.

igor

> 
>> 
>> Webrev: http://cr.openjdk.java.net/~iveresov/8179100/webrev.00
> 
> Seems good. But I assume Graal guys will review it too.
> 
>> (It’s a complete rewrite, so don’t look at the diffs, they are messy).
> 
> Thank you for warning ;)
> 
> Thanks,
> Vladimir
> 
>> 
>> I’ll be pushing this through graal-core and doing a graal update after that.
>> 
>> igor
>> 



More information about the hotspot-compiler-dev mailing list