Title: [232279] trunk/Source/_javascript_Core
Revision
232279
Author
sbar...@apple.com
Date
2018-05-29 16:48:35 -0700 (Tue, 29 May 2018)

Log Message

shrinkFootprint needs to request a full collection
https://bugs.webkit.org/show_bug.cgi?id=186069

Reviewed by Mark Lam.

* runtime/VM.cpp:
(JSC::VM::shrinkFootprint):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (232278 => 232279)


--- trunk/Source/_javascript_Core/ChangeLog	2018-05-29 23:41:39 UTC (rev 232278)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-05-29 23:48:35 UTC (rev 232279)
@@ -1,3 +1,13 @@
+2018-05-29  Saam Barati  <sbar...@apple.com>
+
+        shrinkFootprint needs to request a full collection
+        https://bugs.webkit.org/show_bug.cgi?id=186069
+
+        Reviewed by Mark Lam.
+
+        * runtime/VM.cpp:
+        (JSC::VM::shrinkFootprint):
+
 2018-05-29  Caio Lima  <ticaiol...@gmail.com>
 
         [ESNext][BigInt] Implement support for "<" and ">" relational operation

Modified: trunk/Source/_javascript_Core/runtime/VM.cpp (232278 => 232279)


--- trunk/Source/_javascript_Core/runtime/VM.cpp	2018-05-29 23:41:39 UTC (rev 232278)
+++ trunk/Source/_javascript_Core/runtime/VM.cpp	2018-05-29 23:48:35 UTC (rev 232279)
@@ -781,7 +781,7 @@
 {
     sanitizeStackForVM(this);
     deleteAllCode(DeleteAllCodeIfNotCollecting);
-    heap.collectNow(Synchronousness::Sync);
+    heap.collectNow(Synchronousness::Sync, CollectionScope::Full);
     WTF::releaseFastMallocFreeMemory();
     // FIXME: Consider stopping various automatic threads here.
     // https://bugs.webkit.org/show_bug.cgi?id=185447
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to