Re-enabled ENABLE(LAZY_BLOCK_FREEING).
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Sep 2011 00:06:28 +0000 (00:06 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Sep 2011 00:06:28 +0000 (00:06 +0000)
Reviewed by Stephanie Lewis.

I accidentally disabled this in r94890, causing a big performance regression.

* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@94992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wtf/Platform.h

index 728f6c7..9cd36e1 100644 (file)
@@ -1,3 +1,13 @@
+2011-09-12  Geoffrey Garen  <ggaren@apple.com>
+
+        Re-enabled ENABLE(LAZY_BLOCK_FREEING).
+        
+        Reviewed by Stephanie Lewis.
+
+        I accidentally disabled this in r94890, causing a big performance regression.
+
+        * wtf/Platform.h:
+
 2011-09-12  Michael Saboff  <msaboff@apple.com>
 
         Broken Build for ARM - lshift32() needs TrustedImm32 arg
index 3146e39..9499cda 100644 (file)
 #endif
 #endif
 
+#if !defined(ENABLE_LAZY_BLOCK_FREEING)
+#if ENABLE(JSC_MULTIPLE_THREADS)
+#define ENABLE_LAZY_BLOCK_FREEING 1
+#endif
+#endif
+
 #ifndef ENABLE_LARGE_HEAP
 #if CPU(X86) || CPU(X86_64)
 #define ENABLE_LARGE_HEAP 1