Sign in
webkit
/
WebKit
/
497f6b0cdd443c0d21373b4e2949e791073f3c13
/
.
/
JSTests
/
stress
/
weakmap-gc.js
blob: f63f4752ceed8a24413dd3c353a293d9b4aca34b [
file
] [
log
] [
blame
]
utatane.tea@gmail.com
6903ef3
2017-12-13 02:49:00 +0000
[
diff
] [
blame
]
1
function
test
()
2
{
3
var
map
=
new
WeakMap
();
4
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
{
5
map
.
set
({},
i
);
6
}
7
return
map
;
8
}
9
noInline
(
test
);
10
var
map
=
test
();
11
fullGC
();