[armedbear-devel] Lazy allocation of LispStackFrames

Dmitry Nadezhin dmitry.nadezhin at oracle.com
Sun Aug 18 07:52:42 UTC 2013


LispStackFrame object are allocated on every LispThread.execute(...) .
However, they are seldom (to inspect stack trace).
This patch delays allocation of LispStackFrame objects until they are requested.

Raw information about stack frames is stored in stack.
Stack is an Object[] array ( more precisely a list of 8 MB Object[] arrays ).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lazyLispStackFrame.tar.gz
Type: application/x-gzip
Size: 11910 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20130818/392b2c5f/attachment.bin>


More information about the armedbear-devel mailing list