|
| From: | Eric Hughes |
| Subject: | Re: [Gnash-dev] GC: status report & call for test |
| Date: | Fri, 06 Jul 2007 21:32:01 -0600 |
P.S. Re: weak pointersI didn't mention this right when it came up a few days ago, but there's a second important use case for weak pointers in the VM: the debugger. Since a debugger shouldn't alter execution pattern, that should also include when objects get rounded up for collection. In other words, each and every pointer from the debugger to any object in a program-under-test should be weak. When such a weak pointer goes out of scope, the debugger simply says "object no longer exists", which is exactly informative.
Eric
| [Prev in Thread] | Current Thread | [Next in Thread] |