Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
gc
/
multi-02.js
blob: 56cae455707e58815e0da628b73987842e69e0dc [
file
] [
log
] [
blame
]
/* Exercise the path where we want to collect a new compartment in the middle of incremental GC. */
var
g1
=
newGlobal
();
var
g2
=
newGlobal
();
schedulegc
(
g1
);
gcslice
(
0
);
// Start IGC, but don't mark anything.
schedulegc
(
g2
);
gcslice
(
1
);
gcslice
();