Changeset 33038 in webkit for trunk/JavaScriptCore/API/JSBase.cpp


Ignore:
Timestamp:
May 12, 2008, 12:12:31 AM (17 years ago)
Author:
[email protected]
Message:

Roll out recent threading changes (r32807, r32810, r32819, r32822) to simplify
SquirrelFish merging.

File:
1 edited

Legend:

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

    r32808 r33038  
    8585
    8686    JSLock lock;
    87 
    88     // It might seem that we have a context passed to this function, and can use toJS(ctx)->heap(), but the parameter is likely to be NULL.
    89     // The performance difference should be negligible anyway.
    90     Heap* heap = Heap::threadHeap();
    91     if (!heap->isBusy())
    92         heap->collect();
     87    if (!Collector::isBusy())
     88        Collector::collect();
    9389    // FIXME: Perhaps we should trigger a second mark and sweep
    9490    // once the garbage collector is done if this is called when
Note: See TracChangeset for help on using the changeset viewer.