-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
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?
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.