Title: [157641] trunk/Source/_javascript_Core
Revision
157641
Author
[email protected]
Date
2013-10-18 10:22:55 -0700 (Fri, 18 Oct 2013)

Log Message

Add SPI to disable the garbage collector timer
https://bugs.webkit.org/show_bug.cgi?id=122921

Add null check to Heap::setGarbageCollectionTimerEnabled() that I inadvertently
omitted.

* heap/Heap.cpp:
(JSC::Heap::setGarbageCollectionTimerEnabled):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (157640 => 157641)


--- trunk/Source/_javascript_Core/ChangeLog	2013-10-18 17:11:16 UTC (rev 157640)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-10-18 17:22:55 UTC (rev 157641)
@@ -1,3 +1,14 @@
+2013-10-18  Daniel Bates  <[email protected]>
+
+        Add SPI to disable the garbage collector timer
+        https://bugs.webkit.org/show_bug.cgi?id=122921
+
+        Add null check to Heap::setGarbageCollectionTimerEnabled() that I inadvertently
+        omitted.
+
+        * heap/Heap.cpp:
+        (JSC::Heap::setGarbageCollectionTimerEnabled):
+
 2013-10-18  Julien Brianceau  <[email protected]>
 
         Group 64-bit specific and 32-bit specific callOperation implementations.

Modified: trunk/Source/_javascript_Core/heap/Heap.cpp (157640 => 157641)


--- trunk/Source/_javascript_Core/heap/Heap.cpp	2013-10-18 17:11:16 UTC (rev 157640)
+++ trunk/Source/_javascript_Core/heap/Heap.cpp	2013-10-18 17:22:55 UTC (rev 157641)
@@ -906,7 +906,8 @@
 
 void Heap::setGarbageCollectionTimerEnabled(bool enable)
 {
-    activityCallback()->setEnabled(enable);
+    if (m_activityCallback)
+        m_activityCallback->setEnabled(enable);
 }
 
 void Heap::didAllocate(size_t bytes)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to