Comment #2 on issue 3262 by [email protected]: WeakMap retains references to values after keys are garbage collected
http://code.google.com/p/v8/issues/detail?id=3262

Full output from d8, showing multiple calls to gc() over a period of time --

d8> gc()
[42691] 93050 ms: Mark-sweep 104.9 (144.1) -> 104.9 (144.1) MB, 123.1 ms [gc extension] [GC in old space requested].
undefined

d8> keys.length = 0;
0

d8> gc()
[42691] 99805 ms: Mark-sweep 104.9 (144.1) -> 33.9 (75.2) MB, 100.0 ms [gc extension] [GC in old space requested].
undefined

d8> gc()
[42691] 105609 ms: Mark-sweep 33.9 (75.2) -> 33.9 (72.2) MB, 31.1 ms [gc extension] [GC in old space requested].
undefined

d8> gc()
[42691] 142712 ms: Mark-sweep 33.9 (72.2) -> 33.9 (72.2) MB, 31.2 ms [gc extension] [GC in old space requested].
undefined

d8> gc()
[42691] 186226 ms: Mark-sweep 33.9 (72.2) -> 33.9 (72.2) MB, 33.4 ms [gc extension] [GC in old space requested].
undefined

d8> gc()
[42691] 218422 ms: Mark-sweep 33.9 (72.2) -> 33.9 (72.2) MB, 32.0 ms [gc extension] [GC in old space requested].
undefined

d8> delete wm
true

d8> gc()
[42691] 230542 ms: Mark-sweep 33.9 (72.2) -> 1.9 (40.2) MB, 5.2 ms [gc extension] [GC in old space requested].
undefined

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to