[Webkit-unassigned] [Bug 34349] New: [Symbian] Lazy commit of memory required in JSC register file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 29 14:56:32 PST 2010


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

           Summary: [Symbian] Lazy commit of memory required in JSC
                    register file
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: S60 Hardware
        OS/Version: S60 3rd edition
            Status: UNCONFIRMED
          Severity: Major
          Priority: P1
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: siddharth.mathur at nokia.com
                CC: hausmann at webkit.org, laszlo.1.gombos at nokia.com,
                    norbert.leser at nokia.com


To be smart on RAM usage, RegisterFile should NOT allocate (commit) 4MB
upfront, but use logic similar to the HAVE(VIRTUALALLOC) case. 

a) use RChunk.CreateLocalDisconnected() to reserve virtual address space in the
c'tor. 
https://trac.webkit.org/browser/trunk/JavaScriptCore/interpreter/RegisterFile.h

b) use RChunk.commit() to commit only what is needed in RegisterFile::grow()
https://trac.webkit.org/changeset/42842/trunk/JavaScriptCore/interpreter/RegisterFile.cpp

c) decommit using RChunk.decommit() what's not needed in RegisterFile::shrink()

Note that there are some alignment requirements for allocated memory.

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