On 05/27/2011 01:53 AM, Charles Oliver Nutter wrote:
> On Thu, May 26, 2011 at 5:20 AM, Rémi Forax<[email protected]>  wrote:
>> As far as I know there is no specific optimization of SwitchPoint
>> i.e there is still a volatile read in the middle of the pattern.
> If that's true I'm not sure how this is better than a regular GWT with
> a volatile read in the test.

It will be better when SwitchPoint will be optimized,
the major point of having the SwitchPoint API is,
like most of the API of java.lang.invoke,
that these API are/will be recognized and optimized by the VM.

> - Charlie

Rémi

_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to