Ignore:
Timestamp:
Apr 20, 2012, 12:36:13 PM (13 years ago)
Author:
[email protected]
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/JSBase.cpp

    r99167 r114771  
    103103    JSGlobalData& globalData = exec->globalData();
    104104    if (!globalData.heap.isBusy())
    105         globalData.heap.collectAllGarbage();
     105        globalData.heap.activityCallback()->didAbandonObjectGraph();
    106106
    107107    // FIXME: Perhaps we should trigger a second mark and sweep
Note: See TracChangeset for help on using the changeset viewer.