[squeak-dev] Re: immutibility

James Foster Smalltalk at JGFoster.net
Thu Mar 18 21:04:50 UTC 2010


On Mar 18, 2010, at 9:19 AM, Eliot Miranda wrote:

> On Thu, Mar 18, 2010 at 8:17 AM, James Foster <Smalltalk at jgfoster.net> wrote:
> On Mar 17, 2010, at 11:28 PM, Igor Stasenko wrote:
> 
> > the above is an example when object, recorded as an immutable one,
> > then mutated outside a DB transaction. So db can't capture the attempt
> > to modify it. What GemStone doing to handle this?
> 
> Actually, GemStone traps object modification at the byte-code level in the VM so does not rely on immutability to be informed of a modification.
> 
> Not preferrentially.  It used to do that, but it is a problematic approach.  The preferred implementation is above VM-supported per-object immutability.  We've recently discussed this topic, I think on the Pharo list.  Martin McClure of GemStone wrote excellent posts describing the implementations, their trade offs, and the higher levels of the framework which support installing managers for the immutability exception that supports multiple frameworks using immutability concurrently.

Sorry. I was discussing GemStone's server VM, not the replication/proxy activity in a client Smalltalk remote from GemStone (such as GBS in VW).

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100318/62e9183b/attachment.htm


More information about the Squeak-dev mailing list