Changeset 147743 in webkit
- Timestamp:
- Apr 5, 2013 6:42:35 AM (11 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r147715 r147743 1 2013-04-05 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 2 3 [EFL] Disable GLOBAL_FAST_MALLOC_NEW by default. 4 https://bugs.webkit.org/show_bug.cgi?id=114031 5 6 Reviewed by Alexis Menard. 7 8 Follow what some other ports already do and avoid globally overriding 9 the `new' and `delete' operators with the ones in FastMalloc. 10 11 In many cases, third-party or client code allocates memory with 12 standard library calls but the memory gets deleted by FastMalloc, 13 causing a crash. The reverse (ie. memory being allocated by FastMalloc 14 and freed by the system libraries) is also possible. 15 16 Commits 135666 and 121018 provide more information about this, as well 17 as comment 6 in bug 89358. 18 19 * wtf/Platform.h: 20 1 21 2013-04-05 Benjamin Poulain <bpoulain@apple.com> 2 22 -
trunk/Source/WTF/wtf/Platform.h
r147595 r147743 710 710 #endif 711 711 712 #if PLATFORM(EFL) 713 #define ENABLE_GLOBAL_FASTMALLOC_NEW 0 714 #endif 715 712 716 #if !defined(ENABLE_GLOBAL_FASTMALLOC_NEW) 713 717 #define ENABLE_GLOBAL_FASTMALLOC_NEW 1
Note: See TracChangeset
for help on using the changeset viewer.