[VM][ENH] LowSpaceAndInterruptHandler-dtl (redone with Tim's approach)

David T. Lewis lewis at mail.msen.com
Sat Apr 16 03:42:16 UTC 2005

On Sun, Apr 03, 2005 at 05:15:54PM -0400, David T. Lewis wrote:
> These change sets are updates to the VM and to the low space watcher that
> fix low space interrupt handling and user interrupt handling in Morphic.
> Under certain conditions the low space watcher was unable to determine the
> correct process to suspend following a low space signal. These changes permit
> the VM to remember the identity of the process that caused the low space
> condition, and to report it to the image through a primitive.
> The low space watcher changes are backward compatible for use with VMs
> that do not yet have the new primitive (i.e. broken the same way as was
> the case in Squeak 3.7).
> Caveats:
> - This is done with VMMaker 3-8b2, hence is not updated for 64 bit VM.
> - I added a numbered primitive, which is probably a bad thing (but I'm not
>   sure where best to put it, possibly MiscPrimitivePlugin?).
> - There may be a simpler way to accomplish this, but at least this is a
>   working implementation.
> - I have not tested the interpreter simulator, still need to make sure I did
>   not break it.

Tim suggested (on Mantis) that the process causing the low space condition
could be passed back to the image in the special objects array, rather
than passing the identity hash via a primitive. The implemention is

LowSpaceAndInterruptHandler-2-dtl - image side patches for Morphic and MVC
VMMLowSpaceAndInterruptHandler-2-dtl - VM patches


-------------- next part --------------
A non-text attachment was scrubbed...
Name: LowSpaceAndInterruptHandler-2-dtl.cs.gz
Type: application/x-gunzip
Size: 3016 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20050415/0297c49c/LowSpaceAndInterruptHandler-2-dtl.cs.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VMMLowSpaceAndInterruptHandler-2-dtl.cs.gz
Type: application/x-gunzip
Size: 3300 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20050415/0297c49c/VMMLowSpaceAndInterruptHandler-2-dtl.cs.bin

More information about the Vm-dev mailing list