On 7/13/16 10:18 AM, Michael Kriegel wrote:
But shouldn't it be predictable, whether there
are still "non-weak" references to an object?

Maybe. The GC may include a machine stack scanner to root things referenced on the stack, which can give false positives depending on what integers happen to be hanging out on the stack.

does NOT depend on, whether the object has actually been gc'ed, but whether the 
object does
have "non-weak" references to it.

Determining this basically requires running a full gc, no?

I am not sure, which kinds of garbage collectors the implementations of
ECMAScript typically use. If they used a reference counter

They don't.

-Boris
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to