Chromium Code Reviews| Index: src/runtime.cc |
| diff --git a/src/runtime.cc b/src/runtime.cc |
| index 08b944a8a1b00fdc3908d9f66d4ea74a76c20245..97b8c67f81e5497f77846695a68d7268f111c1ea 100644 |
| --- a/src/runtime.cc |
| +++ b/src/runtime.cc |
| @@ -13519,7 +13519,7 @@ void Runtime::PerformGC(Object* result) { |
| // Handle last resort GC and make sure to allow future allocations |
| // to grow the heap without causing GCs (if possible). |
| isolate->counters()->gc_last_resort_from_js()->Increment(); |
| - isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags); |
| + isolate->heap()->CollectAllAvailableGarbage(); |
|
Erik Corry
2011/11/04 11:51:29
Perhaps we should force through one mark-sweep bef
|
| } |
| } |