Re: [JS-internals] object metadata hook

2014-03-03 Thread Nicholas Nethercote
On Mon, Mar 3, 2014 at 2:56 PM, Fitzgerald, Nick wrote: > On 3/2/14 9:32 PM, Nicholas Nethercote wrote: >> The actual >> allocated object isn't available. > This is because the metadata object becomes a part of the Shape, which > is used to build the object. The object doesn't yet exist at this

Re: [JS-internals] object metadata hook

2014-03-03 Thread Fitzgerald, Nick
On 3/2/14 9:32 PM, Nicholas Nethercote wrote: > The actual > allocated object isn't available. This is because the metadata object becomes a part of the Shape, which is used to build the object. The object doesn't yet exist at this point. ___ dev-tech-j

Re: [JS-internals] object metadata hook

2014-03-03 Thread Nicholas Nethercote
On Sun, Mar 2, 2014 at 9:32 PM, Nicholas Nethercote wrote: > > I'm trying to use the object metadata hook. fitzgen is actively working on this stuff in bug 961288 and 972045 and some others. So I'll leave it to him, and eagerly try it out when it's ready. Nick ___

[JS-internals] object metadata hook

2014-03-02 Thread Nicholas Nethercote
Hi, I'm trying to use the object metadata hook. I want to record the allocation point (filename + line number) where each object is allocated, in order to dump that info for each object measure by the JS memory reporter. The object metadata hook is odd. I suspect this is because it's not actually