Comment #2 on issue 2699 by [email protected]: WeakMaps cause long GC pauses
http://code.google.com/p/v8/issues/detail?id=2699

After investigating this issue further I found the root cause for the long pauses. It wasn't marking of entries but excessive processing of the WeakMaps itself that lead to many (about 30-ish) ~100ms pauses. By only triggering processing of WeakMaps twice during marking the pause went down to just twice ~100ms. This still isn't great, but an order of magnitude better than before. The fix is in flight.

Note that the processing of WeakMaps itself is still implemented as a fix-point iteration with quadratic worst-case time. But for this and similar use-cases (including the internal usage in Object.observe) this worst-case cannot trigger.

--
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/groups/opt_out.


Reply via email to