On Thu, Oct 15, 2009 at 11:57 AM, Mike Belshe <mbel...@google.com> wrote:

> • We should call V8::IdleNotification in situations other than a
>> hidden tab. A long-lived tab might go for quite a while without being
>> hidden in this way: the user might activate another app, hide Chrome
>> itself, or just use multiple windows instead of tabs.
>>
>
> We should try to avoid this.  The V8 team has (rightfully) resisited hooks
> to allows the application to call gc() directly, because once you do that,
> invariably, some smart programmer decides to call gc() all the time!!  :-)
>  V8IdleNotification is basically a route to get at gc().  Let's not abuse
> it.
>

I don't think it's unfair to call IdleNotification() on the foreground tab
if e.g. the user has not done anything with it for five or ten minutes.

PK

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

Reply via email to