Title: [114771] trunk/Source/_javascript_Core
- Revision
- 114771
- Author
- mhahnenb...@apple.com
- Date
- 2012-04-20 12:36:13 -0700 (Fri, 20 Apr 2012)
Log Message
JSGarbageCollect should not call collectAllGarbage()
https://bugs.webkit.org/show_bug.cgi?id=84476
Reviewed by Geoffrey Garen.
* API/JSBase.cpp:
(JSGarbageCollect): Notify the Heap's GCActivityCallback using didAbandonObjectGraph.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/JSBase.cpp (114770 => 114771)
--- trunk/Source/_javascript_Core/API/JSBase.cpp 2012-04-20 19:11:52 UTC (rev 114770)
+++ trunk/Source/_javascript_Core/API/JSBase.cpp 2012-04-20 19:36:13 UTC (rev 114771)
@@ -102,7 +102,7 @@
JSGlobalData& globalData = exec->globalData();
if (!globalData.heap.isBusy())
- globalData.heap.collectAllGarbage();
+ globalData.heap.activityCallback()->didAbandonObjectGraph();
// FIXME: Perhaps we should trigger a second mark and sweep
// once the garbage collector is done if this is called when
Modified: trunk/Source/_javascript_Core/ChangeLog (114770 => 114771)
--- trunk/Source/_javascript_Core/ChangeLog 2012-04-20 19:11:52 UTC (rev 114770)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-04-20 19:36:13 UTC (rev 114771)
@@ -1,3 +1,13 @@
+2012-04-20 Mark Hahnenberg <mhahnenb...@apple.com>
+
+ JSGarbageCollect should not call collectAllGarbage()
+ https://bugs.webkit.org/show_bug.cgi?id=84476
+
+ Reviewed by Geoffrey Garen.
+
+ * API/JSBase.cpp:
+ (JSGarbageCollect): Notify the Heap's GCActivityCallback using didAbandonObjectGraph.
+
2012-04-19 Oliver Hunt <oli...@apple.com>
Exception stack traces aren't complete when the exception starts in native code
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes