[JS-internals] Better memory reporting of objects and shapes

2014-02-16 Thread Nicholas Nethercote
Hi, Currently, about:memory shows data for objects separately from shapes, and there are fixed buckets, like so: ├──125.51 MB (53.64%) -- compartments │ ├───65.20 MB (27.86%) -- objects │ │ ├──48.80 MB (20.86%) -- gc-heap │ │ │ ├──18.45 MB (07.88%) ── function │ │ │ ├──15.98 MB (06.83

Re: [JS-internals] Introducing a new saved stack representation to SpiderMonkey

2014-02-16 Thread Jason Orendorff
On 2/12/14 5:25 PM, Jim Blandy wrote: > As hinted at previously, the DevTools group would like to introduce a > new representation of saved (not live) JS stacks to SpiderMonkey. Our > immediate need is to record the stacks at which JS objects are > allocated, for our memory profiling tools, but we'