Title: [149408] trunk/Source/WTF
Revision
149408
Author
[email protected]
Date
2013-04-30 15:44:22 -0700 (Tue, 30 Apr 2013)

Log Message

[Windows, WinCairo] Fix crash in fast/js/create-lots-of-workers.html
https://bugs.webkit.org/show_bug.cgi?id=115130

Reviewed by Tim Horton.

Windows is suffering from mismatched allocation/deallocation
between the system allocator and fastMalloc/fastFree.  By turning
off the global switch to fastMalloc, only classes specified to
honor fastMalloc/fastFree are affected, and other memory allocation
and freeing is done with consistent library calls.

* wtf/Platform.h: Deactivate ENABLE_GLOBAL_FASTMALLOC_NEW for
the Windows build.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (149407 => 149408)


--- trunk/Source/WTF/ChangeLog	2013-04-30 22:39:53 UTC (rev 149407)
+++ trunk/Source/WTF/ChangeLog	2013-04-30 22:44:22 UTC (rev 149408)
@@ -1,3 +1,19 @@
+2013-04-30  Brent Fulgham  <[email protected]>
+
+        [Windows, WinCairo] Fix crash in fast/js/create-lots-of-workers.html
+        https://bugs.webkit.org/show_bug.cgi?id=115130
+
+        Reviewed by Tim Horton.
+
+        Windows is suffering from mismatched allocation/deallocation
+        between the system allocator and fastMalloc/fastFree.  By turning
+        off the global switch to fastMalloc, only classes specified to
+        honor fastMalloc/fastFree are affected, and other memory allocation
+        and freeing is done with consistent library calls.
+
+        * wtf/Platform.h: Deactivate ENABLE_GLOBAL_FASTMALLOC_NEW for
+        the Windows build.
+
 2013-04-30  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r149349 and r149354.

Modified: trunk/Source/WTF/wtf/Platform.h (149407 => 149408)


--- trunk/Source/WTF/wtf/Platform.h	2013-04-30 22:39:53 UTC (rev 149407)
+++ trunk/Source/WTF/wtf/Platform.h	2013-04-30 22:44:22 UTC (rev 149408)
@@ -646,6 +646,10 @@
 #define ENABLE_GLOBAL_FASTMALLOC_NEW 0
 #endif
 
+#if OS(WINDOWS)
+#define ENABLE_GLOBAL_FASTMALLOC_NEW 0
+#endif
+
 #if !defined(ENABLE_GLOBAL_FASTMALLOC_NEW)
 #define ENABLE_GLOBAL_FASTMALLOC_NEW 1
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to