Updates:
Summary: Context leak caused by referenced from optimized code.
Comment #3 on issue 1823 by [email protected]: Context leak caused by
referenced from optimized code.
http://code.google.com/p/v8/issues/detail?id=1823
Instead of flushing optimized code we might consider other solutions:
1) Avoid generating optimized code that contains pointers to other contexts.
2) Make pointers to embedded objects from the code weak so they will not
retain anything. It should be safe to patch those pointers with 0 when
objects die. Code will deoptimize if executed (but not necessary).
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev