GOODS/WriteBarrier

Avi Bryant avi at beta4.com
Thu Oct 7 15:43:21 UTC 2004


For anyone who wants to test it: there's now a version of GOODS (75) on 
SqueakMap with preliminary WriteBarrier support.  If WriteBarrier isn't 
loaded, it should behave exactly as it did before, but if WriteBarrier 
is loaded, you'll see much faster commits.  It needs WriteBarrier 
version 23.

One thing you have to be careful of with this combination, for now, is 
array literals - if you're ever storing an array literal in your 
database, make sure to send #copy to it first.  Otherwise it's easy to 
violate the restriction that any one instance can only be managed by a 
single WriteBarrier.

Avi




More information about the Squeak-dev mailing list