Title: [225652] trunk/Source/_javascript_Core
Revision
225652
Author
pvol...@apple.com
Date
2017-12-07 16:18:00 -0800 (Thu, 07 Dec 2017)

Log Message

Use fastAlignedFree to free aligned memory.
https://bugs.webkit.org/show_bug.cgi?id=180540

Reviewed by Saam Barati.

* heap/IsoAlignedMemoryAllocator.cpp:
(JSC::IsoAlignedMemoryAllocator::~IsoAlignedMemoryAllocator):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (225651 => 225652)


--- trunk/Source/_javascript_Core/ChangeLog	2017-12-08 00:15:29 UTC (rev 225651)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-12-08 00:18:00 UTC (rev 225652)
@@ -1,3 +1,13 @@
+2017-12-07  Per Arne Vollan  <pvol...@apple.com>
+
+        Use fastAlignedFree to free aligned memory.
+        https://bugs.webkit.org/show_bug.cgi?id=180540
+
+        Reviewed by Saam Barati.
+
+        * heap/IsoAlignedMemoryAllocator.cpp:
+        (JSC::IsoAlignedMemoryAllocator::~IsoAlignedMemoryAllocator):
+
 2017-12-07  Matt Lewis  <jlew...@apple.com>
 
         Unreviewed, rolling out r225634.

Modified: trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.cpp (225651 => 225652)


--- trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.cpp	2017-12-08 00:15:29 UTC (rev 225651)
+++ trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.cpp	2017-12-08 00:18:00 UTC (rev 225652)
@@ -38,7 +38,7 @@
         void* block = m_blocks[i];
         if (!m_committed[i])
             OSAllocator::commit(block, MarkedBlock::blockSize, true, false);
-        fastFree(block);
+        fastAlignedFree(block);
     }
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to