blob: e8d32b3e3cd815f659b1bf3eee06203d39b70de3 (
plain)
1
2
3
4
5
6
7
8
9
|
const root = newGlobal();
var g = newGlobal();
for (var indexI = 0; indexI <= 65535; indexI++) {
eval("/*var " + String.fromCharCode(indexI) + "xx = 1*/");
}
for (var i = 0; i < 100; ++i) {
gc();
gcslice(1000000);
}
|