Chromium Code Reviews| Index: src/api.cc |
| diff --git a/src/api.cc b/src/api.cc |
| index 349a00d03f6ba06f90db3b0a2eb8b58fa05a59a3..09a9ab45af08ed47d5e3493571abd0882366b088 100644 |
| --- a/src/api.cc |
| +++ b/src/api.cc |
| @@ -3969,7 +3969,7 @@ bool v8::V8::IdleNotification() { |
| void v8::V8::LowMemoryNotification() { |
| i::Isolate* isolate = i::Isolate::Current(); |
| if (!isolate->IsInitialized()) return; |
| - isolate->heap()->CollectAllGarbage(i::Heap::kForceCompactionMask); |
| + isolate->heap()->CollectAllAvailableGarbage(); |
| } |