Changeset 61544 in webkit


Ignore:
Timestamp:
Jun 21, 2010 8:50:59 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-06-21 Kwang Yul Seo <skyul@company100.net>

Reviewed by Kent Tamura.

[BREWMP] Use global new/delete operator overloading with USE_SYSTEM_MALLOC=1
https://bugs.webkit.org/show_bug.cgi?id=40653

Currently, other ports do not use global new/delete operator overloading
when USE_SYSTEM_MALLOC=1. Brew MP uses system malloc, but it needs to enable
"global fastMalloc new" because the default new/delete causes crash on device.
We need to replace them with Brew MP's MALLOC/FREE.

  • wtf/FastMalloc.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r61536 r61544  
     12010-06-21  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Kent Tamura.
     4
     5        [BREWMP] Use global new/delete operator overloading with USE_SYSTEM_MALLOC=1
     6        https://bugs.webkit.org/show_bug.cgi?id=40653
     7
     8        Currently, other ports do not use global new/delete operator overloading
     9        when USE_SYSTEM_MALLOC=1. Brew MP uses system malloc, but it needs to enable
     10        "global fastMalloc new" because the default new/delete causes crash on device.
     11        We need to replace them with Brew MP's MALLOC/FREE.
     12
     13        * wtf/FastMalloc.h:
     14
    1152010-06-18  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
    216
  • trunk/JavaScriptCore/wtf/FastMalloc.h

    r56468 r61544  
    208208#endif
    209209
    210 #if !defined(_CRTDBG_MAP_ALLOC) && !(defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC)
     210#if !defined(_CRTDBG_MAP_ALLOC) && !(defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC && !PLATFORM(BREWMP))
    211211
    212212// The nothrow functions here are actually not all that helpful, because fastMalloc will
Note: See TracChangeset for help on using the changeset viewer.