michael@0: /* Make sure we don't collect the atoms compartment unless every compartment is marked. */ michael@0: michael@0: var g = newGlobal(); michael@0: g.eval("var x = 'some-atom';"); michael@0: michael@0: schedulegc(this); michael@0: schedulegc('atoms'); michael@0: gc('compartment'); michael@0: print(g.x);