Hotspot loves PHP.reboot

Thomas Wuerthinger thomas.wuerthinger at oracle.com
Wed Sep 7 12:33:24 PDT 2011


On 9/7/11 1:10 AM, John Rose wrote:
>
> That's true, except that exceptions tend to be imprecise:  It's hard 
> to tell which sub-expression cause the exception, out of a complex 
> statement.
>
> Addressing both the precision and pre-allocation problems, you could 
> ask the application to create the exception:
>
>   public static <X extends Throwable>
>   int addDetectingOverflow(int x, int y, X onOverflow) throws X
This would probably also mean that the exception object created for 
capturing the slow-case program state needs to be escape-analyzed and 
removed in the optimized code that deoptimizes on overflow?

- thomas

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


More information about the mlvm-dev mailing list