Reland: Add UKM Document.OutliveTimeAfterShutdown
This is basically same as https://chromium-review.googlesource.com/c/chromium/src/+/647050. This CL tries to reland the change after rebasing. 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: I1f64d2a9260d898c386bb948dd25a1c5586f8eb7 Reviewed-on: https://chromium-review.googlesource.com/722301 Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Chris Palmer <palmer@chromium.org> Reviewed-by:
Steven Holte <holte@chromium.org> Cr-Commit-Position: refs/heads/master@{#510029}
Showing
Please register or sign in to comment