If you add this functionality, you should add this to SystemMonitor in
src/base/system_monitor.h

On Thu, Oct 1, 2009 at 9:17 AM, Anton Muhin <[email protected]> wrote:
>
> Dear chromers!
>
> Do we have some notification mechanism for low memory event?
>
> If not, are you fine if I add it?  It would be completely optional and
> I would only implement it for tcmalloc (most probably invoking before
> TCMalloc_SystemAlloc another block).
>
> If you're interested in details.
> http://code.google.com/p/chromium/issues/detail?id=16821 is due to
> retaining WebKit objects due to no GC---allocation rate in V8 heaps is
> ways lower than allocation in tcmalloc heap and thus we die.  The idea
> is to use this callback to trigger callback.
>
> Mads says that we have something like that for Android already.
>
> yours,
> anton.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to