Revision: 10289
Author:   [email protected]
Date:     Wed Dec 21 00:51:59 2011
Log:      Uncommit free pages in all spaces on low memory notification.

BUG=v8:1669
TEST=
[email protected]

Review URL: http://codereview.chromium.org/8969017
http://code.google.com/p/v8/source/detail?r=10289

Modified:
 /branches/bleeding_edge/src/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Tue Dec 13 06:20:03 2011
+++ /branches/bleeding_edge/src/heap.cc Wed Dec 21 00:51:59 2011
@@ -463,6 +463,8 @@
   }
   mark_compact_collector()->SetFlags(kNoGCFlags);
   new_space_.Shrink();
+  UncommitFromSpace();
+  Shrink();
   incremental_marking()->UncommitMarkingDeque();
 }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to