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