On Wed, Nov 29, 2017 at 2:34 PM, madana gopal <[email protected]> wrote:
> Please find the image of snapshot attached. Here it is showing something
> called context in heap snapshot retainers in the bottom tree?. What it means
> and some object like Array it is telling. How we can find the root cause of
> it and locate it?
"Context" in that, ah, context means "closure context" a.k.a. captured
variables. Consider this example:
var x = 42;
function add(y) { return x + y; }
Here, `x` ends up in the context for `add()`.
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.