[Vm-dev] [commit][3319] CogVM source as per VMMaker.oscog-eem.1288
Eliot Miranda
eliot.miranda at gmail.com
Fri May 8 17:33:15 UTC 2015
On Wed, May 6, 2015 at 1:01 AM, Ben Coman <btc at openinworld.com> wrote:
>
>
> On Wed, May 6, 2015 at 1:28 PM, <commits at squeakvm.org> wrote:
>
>> Make the allOldMarkedWeakObjectsOnWeaklingStack assert an eassert: (it
>> /is/
>> extremely expensive) and correct some typos in eassert:.
>>
>
> Just curiousity...
> What is an easert: ? Is that just short for "expensive assert"?
>
Right.
> What is the effect in practice?
>
It's an assert that only gets run if the "run expensive asserts" is set.
The assert VM is slow, and some asserts slow it down a lot. These we make
easserts for less painful debugging, turning them on only when one is sure
they are useful.
cheers -ben
>
--
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150508/9f2883cb/attachment-0001.htm
More information about the Vm-dev
mailing list