[ANN] WriteBarrier

Sebastián Sastre ssastre at seaswork.com.ar
Thu Oct 14 14:05:47 UTC 2004


Avi,

	surely you have it fresh.. 

	I've looked the WriteBarrier and found that a writebarrier
notify of a change on the object. For the IndexedCollection I need a
little bit more "granularity" of this notification, I mean, it would be
great to have a notification of which instVar has been modifyed. Could
WriteBarrier 'vodoo stuff' do that?

	regards,

Sebastián Sastre
 
ssastre at seaswork.com.ar 
Seaswork 
Special Software Solutions
www.seaswork.com.ar


-----Mensaje original-----
De: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org] En nombre de Avi
Bryant
Enviado el: Jueves, 07 de Octubre de 2004 08:55
Para: The general-purpose Squeak developers list
Asunto: [ANN] WriteBarrier


Now that SqueakMap's back up, I can post this:

WriteBarrier provides a way to watch for changes to the state of 
individual objects.  It's intended for use with persistence, 
transactional, or indexing mechanisms where you're managing a discrete 
set of objects of varied classes, and want to be notified when any of 
them are modified.  I expect to modify my GOODS client to make use of 
this to speed up commits; it might also be useful for Magma, OmniBase, 
GLORP, etc.

It's quite fast and reasonably transparent, and has enough tests that 
I'm pretty confident in it, but it still does nasty voodoo stuff and so 
please test it before you load it into an image you care about.

It requires Squeak 3.7 (and not 3.6 or 3.8, because neither includes 
the BytecodeGenerator it uses).

For more details, see the test cases and the WriteBarrier class comment.


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.772 / Virus Database: 519 - Release Date: 01/10/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.772 / Virus Database: 519 - Release Date: 01/10/2004
 




More information about the Squeak-dev mailing list