Debian Codegraph @

js/src/jit-test/tests/gc/bug-1498177.js

raw
1
2 let a, b;
3 for (i=0; i < 300000; i++) {
4 let c = { a: a, b: b };
5 a = b;
6 b = c;
7 }
8
9 gc();
10
11 // GCRuntime::setLargeHeapSizeMinBytes will change the low value to be one
12 // byte lower than the high value (if necessary). But this blew up later
13 // when the values were mistakingly cast to float then compared, rather than
14 // kept as size_t.
15 gcparam('largeHeapSizeMin', 99);
16
17