inline everything

Deneau, Tom tom.deneau at amd.com
Fri May 17 18:06:54 PDT 2013


I think so.
This would be a stopgap until we can handle method call nodes...

-- Tom



-----Original Message-----
From: Thomas Wuerthinger [mailto:thomas.wuerthinger at oracle.com] 
Sent: Friday, May 17, 2013 7:31 PM
To: Deneau, Tom
Cc: graal-dev at openjdk.java.net
Subject: Re: inline everything

Currently, this is not possible, but we can easily add that. Graal does not inline if it believes based on the probability of the invoke and the complexity of the called method that inlining is not worth it. So, you would like to see a version of Graal that inlines everything and throws a bailout exception if either the maximum desired size is exceeded or if there is still an invoke left that cannot be inlined (e.g., because it is megamorphic)?

- thomas

On May 17, 2013, at 4:45 PM, "Deneau, Tom" <tom.deneau at amd.com> wrote:

> Is there a flag that will make Graal inline everything regardless of size or other policies?
> When I tried increasing MaximumDesiredSize I still saw nodes generated  like the following
> 
> 	at node: 12|Invoke#Direct#computeAcc
> 
> -- Tom
> 





More information about the graal-dev mailing list