B
Benjamin Johnston
Hi,
I've found lots of discussion about the JavaScript garbage collector,
but no clear answer to this question:
Is the garbage collection algorithm used in JavaScript on ASP based on
reference counting or tracing?
Thanks for your help,
(I'm planning on creating some user defined Objects with lots of cyclic
references (e.g., a.next.prev = a), and would like to know if this will
cause a problem for the garbage collector. The fact that garbage
collection in general isn't instantaneous suggests to me that it isn't
based on reference counting, but I just want to be sure.)
(I'm NOT using ASP.NET... just plain old ASP... if this is relevant)
-Benjamin Johnston
I've found lots of discussion about the JavaScript garbage collector,
but no clear answer to this question:
Is the garbage collection algorithm used in JavaScript on ASP based on
reference counting or tracing?
Thanks for your help,
(I'm planning on creating some user defined Objects with lots of cyclic
references (e.g., a.next.prev = a), and would like to know if this will
cause a problem for the garbage collector. The fact that garbage
collection in general isn't instantaneous suggests to me that it isn't
based on reference counting, but I just want to be sure.)
(I'm NOT using ASP.NET... just plain old ASP... if this is relevant)
-Benjamin Johnston