Re^4 land Add UKM Document.OutliveTimeAfterShutdown
This is the 4th trial to add the UKM Document.OutliveTimeAfterShutdown. This change caused a problem that logs became huge, but now the problem has been fixed by holte@'s fix (https://chromium-review.googlesource.com/c/chromium/src/+/795362). This CL adds a new UKM Document.OutliveTimeAfterShutdown, that is recorded when a Document object survives 5, 10, 20 or 50 garbage collections after detached. If a document outlives such long time, the document might be leaked. The UKM would be very useful to know where such leaky documents exist and to fix them. Design doc: https://docs.google.com/document/d/1fbs5smdd-pBLLMpq7u8EkyddZILtI7CZPJlo_AA1kak/edit?usp=sharing Bug: 757374 Change-Id: I20c390c8f3856ed8a9cd733ab6ac18d667b12d95 Reviewed-on: https://chromium-review.googlesource.com/818676Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Steven Holte <holte@chromium.org> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Cr-Commit-Position: refs/heads/master@{#523708}
Showing
Please register or sign in to comment