I'm working on showing JS objects retainers. But this only works for objects that live inside V8's heap. I'm not considering links between JS wrappers and C++ objects. I know Vitaly (cc'ed) wanted to do something about such cycles.
On Wed, Sep 23, 2009 at 01:47, Jens Alfke <s...@google.com> wrote: > > Are there any utilities that can be used to see which native (DOM) > objects are being referenced by JavaScript objects, and to follow > references between JS objects to understand what's keeping an object > from being GCd? > > (I'm working on reducing Chrome memory usage. One thing I've > discovered is that WebCore::DOMWindow objects (and all their > associated object trees) are sometimes being left behind. JavaScript > seems to be implicated, as the problem goes away if I disable JS. So > something in V8 seems to be holding onto references to DOMWindows, and > I'd like to find out what it is.) > > Thanks! > > —Jens > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---