Changeset 114771 in webkit
- Timestamp:
- Apr 20, 2012 12:36:13 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSBase.cpp
r99167 r114771 103 103 JSGlobalData& globalData = exec->globalData(); 104 104 if (!globalData.heap.isBusy()) 105 globalData.heap. collectAllGarbage();105 globalData.heap.activityCallback()->didAbandonObjectGraph(); 106 106 107 107 // FIXME: Perhaps we should trigger a second mark and sweep -
trunk/Source/JavaScriptCore/ChangeLog
r114702 r114771 1 2012-04-20 Mark Hahnenberg <mhahnenberg@apple.com> 2 3 JSGarbageCollect should not call collectAllGarbage() 4 https://bugs.webkit.org/show_bug.cgi?id=84476 5 6 Reviewed by Geoffrey Garen. 7 8 * API/JSBase.cpp: 9 (JSGarbageCollect): Notify the Heap's GCActivityCallback using didAbandonObjectGraph. 10 1 11 2012-04-19 Oliver Hunt <oliver@apple.com> 2 12
Note: See TracChangeset
for help on using the changeset viewer.