On 1/1/11 6:53 PM, Charles Pritchard wrote:
ArrayBuffer and Canvas use contiguous memory segments. You don't need a
complex GC pass to let those ones go.

Yes, you do. You can't let go of the canvas buffer without letting go of the canvas rendering contexts and canvas elements referencing it. And those used to be referenced from JS, so the only way they can go away is via a GC.

Similar for ArrayBuffer: the memory segment is owned by various garbage-collected objects, and can't go away until they do.

-Boris

Reply via email to