| Index: src/v8.cc
|
| ===================================================================
|
| --- src/v8.cc (revision 2740)
|
| +++ src/v8.cc (working copy)
|
| @@ -157,13 +157,13 @@
|
| }
|
|
|
|
|
| -void V8::IdleNotification(bool is_high_priority) {
|
| - if (!FLAG_use_idle_notification) return;
|
| +bool V8::IdleNotification(bool is_high_priority) {
|
| + if (!FLAG_use_idle_notification) return false;
|
| // Ignore high priority instances of V8.
|
| - if (is_high_priority) return;
|
| + if (is_high_priority) return false;
|
|
|
| - // Uncommit unused memory in new space.
|
| - Heap::UncommitFromSpace();
|
| + // Tell the heap that it may want to adjust.
|
| + return Heap::IdleNotification();
|
| }
|
|
|
|
|
|
|