>>>>> "Brian" == Brian Jones <[EMAIL PROTECTED]> writes:

Brian> Is Hotspot providing this factor of 10 improvement?  I assume the
Brian> measurement was with the client hotspot.

Some JITs do lazy exception creation.  I believe the idea is: notice
if the exception object is discarded in the catching frame, and, if
so, simply branch there rather than creating the object, filling in
the stack trace, etc.  This only works for things like `throw new Foo()',
but that is a very common case.  I believe ORP does this optimization.

I doubt this is the cause of a factor of 10 improvement.  But it may
still be important.

Tom


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to