[armedbear-devel] Lazy allocation of LispStackFrames

Erik Huelsmann ehuels at gmail.com
Sun Aug 18 22:05:38 UTC 2013


Well, something happened between the last time I ran the maxima test suite
and this patch! In my memory, the testsuite ran around 1100secs on my
laptop. Today, with this patch that was only 670.

The difference is too big to attribute solely to a different jvm version or
other memory settings.

Thanks!

Erik.

sent from my phone
On Aug 18, 2013 10:49 AM, "Mark Evenson" <evenson at panix.com> wrote:

> On 8/18/13 9:52 AM, Dmitry Nadezhin wrote:
>
>> 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 ).
>>
>>
> Cool patch!  Reviewing…
>
> --
> "A screaming comes across the sky.  It has happened before, but there
> is nothing to compare to it now."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20130819/d408d467/attachment.html>


More information about the armedbear-devel mailing list