Changeset 11412


Ignore:
Timestamp:
12/03/08 22:44:19 (12 years ago)
Author:
vvoutilainen
Message:

Don't generate stack trace information when constructing
a ConditionThrowable? (or it's descendants, Go/Return/Throw?).
This makes the aforementioned operations faster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/ConditionThrowable.java

    r11391 r11412  
    4141    {
    4242    }
     43    /**
     44     * Overridden in order to make ConditionThrowable construct
     45     * faster. This avoids gathering stack trace information.
     46     */
     47    public Throwable fillInStackTrace()
     48    {
     49  return this;
     50    }
    4351
    4452    public ConditionThrowable(Condition condition)
Note: See TracChangeset for help on using the changeset viewer.