Sounds good to me - does windows have a good low-memory notification api? On Thu, Oct 1, 2009 at 7:22 AM, Anton Muhin <ant...@chromium.org> wrote:
> > Thanks a lot for pointing that out. > > yours, > anton. > > On Thu, Oct 1, 2009 at 6:20 PM, Marc-Antoine Ruel <mar...@chromium.org> > wrote: > > 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 <ant...@chromium.org> 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: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---