DescriptionOilpan: catch some self-referential leaks (main thread.)
Track the number of SelfKeepAlive<>s that are currently active on
the main thread, so as to be able to detect if any remains on
shutdown. A clear indication of a leak, if so.
Also add some debugging support for detecting thread shutdown
leaks due to Persistent<>s not being released; see
PersistentRegion::dumpLivePersistents() and ThreadState::cleanup().
R=haraken
BUG=420515
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200174
Patch Set 1 #
Total comments: 6
Patch Set 2 : add PersistentRegion::dumpLivePersistents() #Patch Set 3 : include trace callbacks of live persistents #Patch Set 4 : temporary: fix unit test #Patch Set 5 : revert temporary change #Patch Set 6 : rebased #Patch Set 7 : rebase #Patch Set 8 : add stdio.h include #
Messages
Total messages: 23 (6 generated)
|