GWT fast vs slow path

Rémi Forax forax at univ-mlv.fr
Thu Aug 11 15:10:35 PDT 2011


On 08/11/2011 11:39 PM, Mark Roos wrote:
> I was wondering what the expected differences are in the usage of 
> these two paths.  The names imply something
> but I find it confusing.
>
> In my use case ( in line cache) one of the paths is directly into a 
> method handle to invoke and the other goes to
> either another GWT or the lookup.  Both should be fast up to the 
> lookup which could be slower.  I would also like to
> see the optimizer reduce chains of GWTs or at least reorder them.
>
> So is there a difference I should be aware of?  Right now I put the 
> chain of GWTs into the slow path.

There is no predefined slow path/fast path in GWT,
target path and the fallback path are both fast/slow,
only the usage, the number of time one path is taken
is/will be used by the JIT in order to drive the optimization.

About reordering the chain of GWT, what do you want exactly ?

>
> thanks
>
> mark

cheers,
Rémi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110812/e9c7e1f6/attachment.html 


More information about the mlvm-dev mailing list