Re: [JS-internals] Getting the allocation point of every object

2014-02-26 Thread Nicholas Nethercote
On Wed, Feb 26, 2014 at 2:29 PM, Nicholas Nethercote n.netherc...@gmail.com Suggestions on how to do this properly would be appreciated. The object metadata stuff is probably a better way to proceed here... billm pointed me to

Re: [JS-internals] Getting the allocation point of every object

2014-02-26 Thread Nicholas Nethercote
On Wed, Feb 26, 2014 at 2:46 PM, Nicholas Nethercote n.netherc...@gmail.com wrote: On Wed, Feb 26, 2014 at 2:29 PM, Nicholas Nethercote n.netherc...@gmail.com Suggestions on how to do this properly would be appreciated. The object metadata stuff is probably a better way to proceed here...

Re: [JS-internals] Getting the allocation point of every object

2014-02-26 Thread Nicholas Nethercote
I have this working now. In the output I see quite a few lines of the ??? (1) form, i.e. the NonBuiltinScriptFrameIter has zero elements. I'm not sure what this means... allocations triggered from within C++ code rather than JS code? Or in self hosted code, right? Maybe the iterator { value,

Re: [JS-internals] Getting the allocation point of every object

2014-02-26 Thread Till Schneidereit
On Thu, Feb 27, 2014 at 4:09 PM, Nicholas Nethercote n.netherc...@gmail.com wrote: I have this working now. In the output I see quite a few lines of the ??? (1) form, i.e. the NonBuiltinScriptFrameIter has zero elements. I'm not sure what this means... allocations triggered from within C++