Bug 261375

Summary: Add clear buttons to All Paths To... section of GCHeapInspector UI
Product: WebKit Reporter: Ryan Reno <rreno>
Component: Tools / TestsAssignee: Ryan Reno <rreno>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Reno 2023-09-09 11:21:52 PDT
If you click "All Paths To" button for an object it will be added irreversibly to the All Paths To... section of the UI. This, depending on the GC snapshot, could create tens of thousands of DOM nodes which could easily eat up multiple GB of memory and cause the process to be killed even in the foreground. There should be a mechanism to remove an object from the All Paths To... part of the UI in order to let these nodes get garbage collected if they're no longer of interest.
Comment 1 Radar WebKit Bug Importer 2023-09-09 11:22:05 PDT
<rdar://problem/115223418>
Comment 2 Ryan Reno 2023-09-09 11:25:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17628
Comment 3 EWS 2023-09-09 11:35:58 PDT
Committed 267834@main (a8d8da847b5f): <https://commits.webkit.org/267834@main>

Reviewed commits have been landed. Closing PR #17628 and removing active labels.