[svn:parrot] r49381 - branches/generational_gc/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Sep 29 08:38:42 UTC 2010


Author: bacek
Date: Wed Sep 29 08:38:41 2010
New Revision: 49381
URL: https://trac.parrot.org/parrot/changeset/49381

Log:
Add write barrier call when we update Class.attrib_cache

Modified:
   branches/generational_gc/src/pmc/class.pmc

Modified: branches/generational_gc/src/pmc/class.pmc
==============================================================================
--- branches/generational_gc/src/pmc/class.pmc	Wed Sep 29 05:39:46 2010	(r49380)
+++ branches/generational_gc/src/pmc/class.pmc	Wed Sep 29 08:38:41 2010	(r49381)
@@ -261,6 +261,8 @@
     /* Store built attribute index and invalidate cache. */
     _class->attrib_index = attrib_index;
     _class->attrib_cache = cache;
+
+    Parrot_gc_write_barrier(interp, self);
 }
 
 /*


More information about the parrot-commits mailing list