Changeset 33038 in webkit for trunk/JavaScriptCore/API/JSBase.cpp
- Timestamp:
- May 12, 2008, 12:12:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSBase.cpp
r32808 r33038 85 85 86 86 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(); 93 89 // FIXME: Perhaps we should trigger a second mark and sweep 94 90 // once the garbage collector is done if this is called when
Note:
See TracChangeset
for help on using the changeset viewer.