Commits

Armin Rigo committed 15a55bc

Oups.

Comments (0)

Files changed (2)

rpython/memory/gctransform/framework.py

         if hasattr(translator, '_jit2gc'):
             self.layoutbuilder = translator._jit2gc['layoutbuilder']
             finished_minor_collection = translator._jit2gc.get(
-                'finished_minor_collection', None)
+                'invoke_after_minor_collection', None)
         else:
             self.layoutbuilder = TransformerLayoutBuilder(translator, GCClass)
             finished_minor_collection = None

rpython/memory/test/test_transformed_gc.py

     def ensure_layoutbuilder(cls, translator):
         jit2gc = getattr(translator, '_jit2gc', None)
         if jit2gc:
-            assert 'finished_minor_collection' in jit2gc
+            assert 'invoke_after_minor_collection' in jit2gc
             return jit2gc['layoutbuilder']
         marker = cls.marker
         GCClass = cls.gcpolicy.transformerclass.GCClass
             marker[0] += 1
         translator._jit2gc = {
             'layoutbuilder': layoutbuilder,
-            'finished_minor_collection': seeme,
+            'invoke_after_minor_collection': seeme,
         }
         return layoutbuilder