blob: 0212838dce3be675822dc5e097b76438cd9dfd6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Exercise the path where we want to collect a new compartment in the middle of incremental GC. */
var g1 = newGlobal();
var g2 = newGlobal();
schedulezone(g1);
schedulezone(g2);
gcslice(0); // Start IGC, but don't mark anything.
schedulezone(g1);
gcslice(1);
gcslice();
|