[Webkit-unassigned] [Bug 27051] New: Use fastMalloc when neither MMAP nor VIRTUALALLOC are enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 7 18:39:03 PDT 2009


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

           Summary: Use fastMalloc when neither MMAP nor VIRTUALALLOC are
                    enabled
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: S60 Hardware
        OS/Version: S60 3rd edition
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: norbert.leser at nokia.com
                CC: yongjun.zhang at nokia.com, hausmann at webkit.org,
                    laszlo.1.gombos at nokia.com



Norbert Leser <norbert.leser at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32410|                            |review?
               Flag|                            |


Created an attachment (id=32410)
 --> (https://bugs.webkit.org/attachment.cgi?id=32410)
Code patch for Registerfile ccp and h

RegisterFile constructor currently throws #error when both MMAP and
VIRTUALALLOC conditions fail.
On any platform that does not provide these features (for instance, Symbian),
the fallback should be regular malloc (or fastMalloc).
Memory allocation with fastMalloc functionally equivalent in this case, even
though it may have certain drawbacks such as lack of dynamic pre-allocation.

This should be the general, preferred way of fixing the issue, as opposed to
introducing conditional code block for platform Symbian.

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