GOODS/WriteBarrier

John Pierce john.raymond.pierce at gmail.com
Fri Oct 8 00:05:28 UTC 2004


On Thu, 7 Oct 2004 17:43:21 +0200, Avi Bryant <avi at beta4.com> wrote:
> 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.

Avi, we have several developers using GOODS.  Do we all need to
upgrade and use WriteBarrier at the same time against the same GOODS
databases -- or can we work in mixed mode (some of us trying
WriteBarrier and others of us not trying it out)?

> 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.

Are there any other kinds of literals to be careful of?  Do you
foresee that this will be handled by the framework eventually?

Regards,

John

-- 
Three failures denote uncommon strength. A weakling has not enough
grit to fail thrice. -- Minna Thomas Antrim



More information about the Squeak-dev mailing list