[Webkit-unassigned] [Bug 85063] Add low memory check in ExecutableAllocator::underMemoryPressure()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 8 15:01:17 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85063
George Staikos <staikos at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |staikos at kde.org
--- Comment #27 from George Staikos <staikos at kde.org> 2012-05-08 15:00:21 PST ---
(In reply to comment #24)
> (From update of attachment 139452 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=139452&action=review
>
> > Source/JavaScriptCore/ChangeLog:9
> > + Call WTF::isSystemMemoryLow() to check whether system memory is low in
> > + ExecutableAllocator::underMemoryPressure(). This will force collecting
> > + of garbage, thus avoiding out of system memory while at the same time
> > + we have a lot of unused memory waiting to be released.
>
> I'm not sure I buy this. ExecutableAllocator has _nothing_ to do with garbage collection. It only deals with JIT memory. This method returning true should only cause us to jettison JIT memory; it will not cause any other kinds of memory reclamation.
Can't this be considered useful? Seems to me it is.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list