Re: [JS-internals] Crashy BaseShapes

2014-08-31 Thread Nicholas Nethercote
Just to close the loop on this one: the ASAN crash eventually went away, presumably because somebody fixed the latent bug, and I was able to land the patch. Details at https://blog.mozilla.org/nnethercote/2014/08/29/per-class-js-object-and-shape-measurements-in-firefoxs-aboutmemory/ Nick On Thu,

[JS-internals] Crashy BaseShapes

2014-04-16 Thread Nicholas Nethercote
Hi, In bug 972712 I implemented class-based memory reporting. An example: │ │ │ │ ├───0.69 MB (00.64%) -- compartment([System Principal], resource://gre/modules/addons/XPIProvider.jsm) │ │ │ │ │ ├──0.45 MB (00.42%) -- classes │ │ │ │ │ │ ├──0.21 MB (00.20%) -- class(Function)