2 'Tests to make sure that dynamic scope objects are correctly protected from GC. To pass we need to not crash.'
8 GCController
.collectAll();
10 for (var i
= 0; i
< 10000; ++i
) // Allocate a sufficient number of objects to force a GC.
16 // Immediate value for scope
24 // Real object for scope
28 {}; {}; [1,2,3,4*{}]; // Clobber any temporaries the scope may exist in
38 // Test catch blocks for the heck of it