Changeset 114771 in webkit


Ignore:
Timestamp:
Apr 20, 2012 12:36:13 PM (12 years ago)
Author:
mhahnenberg@apple.com
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.

Location:
trunk/Source/JavaScriptCore
Files:
2 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
  • trunk/Source/JavaScriptCore/ChangeLog

    r114702 r114771  
     12012-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
    1112012-04-19  Oliver Hunt  <oliver@apple.com>
    212
Note: See TracChangeset for help on using the changeset viewer.