Closed
Description
Heapdumped profiles on node >=4.2 show unfeasibly large retained sizes for native TLSWRAP
instances.
I believe that this call: https://github.com/nodejs/node/blob/master/src/async-wrap.cc#L55 to self_size()
, when on a TLSWrap
, are in fact entering TLSWrap::Cast()
and thus returning the this
pointer value. I don't know yet whether the problem is in the way it is being called or in the declaration in TLSWrap
but for some reason the self_size()
call is resolving to the wrong vtable entry. Someone more expert will I am sure find the root cause quicker than I will.
/cc @indutny is this yours?