[Vm-dev] Re: [squeak-dev] Bug whith contextOn:do:

Eliot Miranda eliot.miranda at gmail.com
Wed Apr 1 16:37:28 UTC 2015


On Wed, Apr 1, 2015 at 6:27 AM, Bert Freudenberg <bert at freudenbergs.de>
wrote:

>
> On 31.03.2015, at 23:10, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>
>
> I'm not sure the other ways are any better.  The way to transfer to a
> context without disturbing its stack is to do a process switch.
>
> [...]
>
>   One of the advantages the process switch versions have is in not
> updating the receiving context sp there's a chance the context-to-stack
> mapping machinery won't flush the context to the heap.  In the end it might
> actually be faster.
>
>
> I would find it very surprising if #jump would result in the execution
> continuing in a different process.
>

That's not what they do.  Instead they spawn another process to position
the process in which we want to jump correctly.


>
> - Bert -
>
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150401/dbe7fda4/attachment.htm


More information about the Vm-dev mailing list