It doesn't seem to make a difference here.

On 21 nov, 20:59, [email protected] wrote:
> In a lisp interpreter we got amazing time increase in our catch/throw 
> benchmarks
> like 100(0?)s times faster.
>
> Question:
>
>   �...@override
>     public Throwable fillInStackTrace()
>     {
>           return this;
>     }
>
> Is returning 'null' a better idea than 'this' ?
>
> ----- Original Message -----
> From: "segoe" <[email protected]>
> To: "JVM Languages" <[email protected]>
> Sent: Saturday, November 21, 2009 11:05 AM
> Subject: [jvm-l] Re: Some Array vs GETFILED access times
>
> > Ok, got it to work. There is still some overhead but is minimal.
> > It seems the trick is not only to null fillInStackTrace() but also
> > caching exceptions
> > making sure to reuse the same instance.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups 
> > "JVM Languages" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/jvm-languages?hl=.

--

You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=.


Reply via email to