[JSC] Add --destroy-vm shell option and dumpHeapStatisticsAtVMDestruction option
Created attachment 365034 [details] Patch
Comment on attachment 365034 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365034&action=review r=me with nits. > Source/JavaScriptCore/ChangeLog:8 > + It is useful if we have an option logging the status of all the existing MarkedBlock status and objects at VM destruction. nit: existing MarkedBlock status and objects => existing MarkedBlocks and their objects > Source/JavaScriptCore/ChangeLog:9 > + I used this feature to find various wasting memory, and successfully removed many of wasting MarkedBlocks and JS cells like r243081. nit: find various wasting memory, and successfully removed many of wasting MarkedBlocks and JS cells => find wasted memory, and successfully removed many wasted MarkedBlocks and JS cells
Comment on attachment 365034 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365034&action=review Thanks! >> Source/JavaScriptCore/ChangeLog:8 >> + It is useful if we have an option logging the status of all the existing MarkedBlock status and objects at VM destruction. > > nit: existing MarkedBlock status and objects => existing MarkedBlocks and their objects Fixed. >> Source/JavaScriptCore/ChangeLog:9 >> + I used this feature to find various wasting memory, and successfully removed many of wasting MarkedBlocks and JS cells like r243081. > > nit: find various wasting memory, and successfully removed many of wasting MarkedBlocks and JS cells => find wasted memory, and successfully removed many wasted MarkedBlocks and JS cells Fixed.
Committed r243086: <https://trac.webkit.org/changeset/243086>
<rdar://problem/48986644>