Title: [144630] trunk/Source/WTF
Revision
144630
Author
[email protected]
Date
2013-03-04 08:22:30 -0800 (Mon, 04 Mar 2013)

Log Message

Deque: Free internal buffer in clear().
<http://webkit.org/b/111316>
<rdar://problem/13336675>

Reviewed by Antti Koivisto.

525 kB progression on Membuster3.

* wtf/Deque.h:
(WTF::::clear):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (144629 => 144630)


--- trunk/Source/WTF/ChangeLog	2013-03-04 16:21:02 UTC (rev 144629)
+++ trunk/Source/WTF/ChangeLog	2013-03-04 16:22:30 UTC (rev 144630)
@@ -1,3 +1,16 @@
+2013-03-04  Andreas Kling  <[email protected]>
+
+        Deque: Free internal buffer in clear().
+        <http://webkit.org/b/111316>
+        <rdar://problem/13336675>
+
+        Reviewed by Antti Koivisto.
+
+        525 kB progression on Membuster3.
+
+        * wtf/Deque.h:
+        (WTF::::clear):
+
 2013-03-04  Kunihiko Sakamoto  <[email protected]>
 
         Add build flag for FontLoader

Modified: trunk/Source/WTF/wtf/Deque.h (144629 => 144630)


--- trunk/Source/WTF/wtf/Deque.h	2013-03-04 16:21:02 UTC (rev 144629)
+++ trunk/Source/WTF/wtf/Deque.h	2013-03-04 16:22:30 UTC (rev 144630)
@@ -348,6 +348,7 @@
         destroyAll();
         m_start = 0;
         m_end = 0;
+        m_buffer.deallocateBuffer(m_buffer.buffer());
         checkValidity();
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to