Changes between Version 6 and Version 7 of Inspecting the GC heap


Ignore:
Timestamp:
Sep 4, 2018 10:07:50 AM (4 years ago)
Author:
ajuma@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Inspecting the GC heap

    v6 v7  
    3131  So that shows us that value.htm is still around, which is bad.
    3232
    33 5. Now we can dump the GC heap, again with notifyutil: {{{notifyutil -p com.apple.WebKit.showAllDocuments}}}. This will log something like: {{{Dumped GC heap to /var/folders/bh/34x83y_n4mn5n_nv0v_rdmh80000gn/T/org.webkit.MiniBrowser/GCHeapOayHEu}}}.
     335. Now we can dump the GC heap, again with notifyutil: {{{notifyutil -p com.apple.WebKit.dumpGCHeap}}}. This will log something like: {{{Dumped GC heap to /var/folders/bh/34x83y_n4mn5n_nv0v_rdmh80000gn/T/org.webkit.MiniBrowser/GCHeapOayHEu}}}.
    3434  That's your JSON output, so copy the file somewhere to keep it:
    3535  {{{mv Dumped GC heap to /var/folders/bh/34x83y_n4mn5n_nv0v_rdmh80000gn/T/org.webkit.MiniBrowser/GCHeapOayHEu ~/Desktop/values-heap.json}}}