Everything I'm seeing says it should be set in your registered weak callback.. if it's ever false there, then I'd look into it further, but other than that the behavior seems to be not very guaranteed.
I am not a v8 developer, I just googled around a bit. --Zac On Thursday, June 15, 2017 at 8:11:32 AM UTC-7, Ben Noordhuis wrote: > > On Thu, Jun 15, 2017 at 4:42 PM, Ian Bull <[email protected] <javascript:>> > wrote: > > Thanks Ben, > > > > I tried setting it weak, and noticed that it still was considered "not > near > > death". However, after a while, this did change. So this is consistent > with > > your assertion that it's not instantaneous. > > > > I was going to expose this API in my Java bindings, but maybe I'll skip > if > > for now. Do you know what this API would be useful for, or have you seen > > real world examples of people using it? > > > > Cheers, > > Ian > > It's just a single data point but it has never been used in node.js > core. I'm not aware of its use in any node.js add-ons, either. > -- -- 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.
