[Webkit-unassigned] [Bug 51434] New: RegExpCache holds on to too much executable memory.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 21 17:22:05 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51434

           Summary: RegExpCache holds on to too much executable memory.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barraclough at apple.com


RegExpCache may hold on to too much memory for three reasons:

(1) Caching 256 RegExps might be too man, for some platforms.
(2) The RegExpCache gives regular expressions a very different lifetime to JIT translations of JS code, but they share an ExecutableAllocator, and thus share ExecutablePools.  This means the RegExpCache may end up keeping the JIT code for translations of JS code alive.
(3) Regular expressions in the RegExpCache may be sharing ExecutablePools.  If this is the case, rejecting a single RegExp object won't actually free up any memory.  This means the cache holds onto complied regular expressions that it cannot vend.

-- 
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