Chromium Code Reviews
Description[Sync] Moved tab_node_id tracking to session object and improved foreign session
garbage collection.
Orphaned tabs and empty header nodes were previously completely missed by
garbage collection, leading to a bloat of sync data. Additionally, orphan tabs
that were added after the header during merge were never cleaned up by the
tracker, using memory. These issues should all be resolved, but in order to
correctly perform garbage collection of cleaned up session data, the location
of tab_node_ids were moved from the SessionTabWrapper to the SyncedSession so
that they can be tracked through cleanup calls. Should expect a minor memory
improvement for users syncing session data.
BUG=599548
Committed: https://crrev.com/199c7fdea8b1652b9ff0d17cdd2989476b63cf5f
Cr-Commit-Position: refs/heads/master@{#387391}
Patch Set 1 : #
Total comments: 24
Patch Set 2 : Moved tab_node_ids to session object, resumed aggressive cleanup. #
Total comments: 2
Patch Set 3 : Reverting now inaccurate comments from previous versions. #
Total comments: 9
Patch Set 4 : Updates for zea. #
Total comments: 1
Patch Set 5 : Fixing comment for zea. #Messages
Total messages: 20 (10 generated)
|