Commit 0d1c5c2c authored by antonm@chromium.org's avatar antonm@chromium.org

Make V8::LowMemoryNotification GC for all platforms.

Review URL: http://codereview.chromium.org/330004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3125 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5379d817
......@@ -2653,10 +2653,8 @@ bool v8::V8::IdleNotification() {
void v8::V8::LowMemoryNotification() {
#if defined(ANDROID)
if (!i::V8::IsRunning()) return;
i::Heap::CollectAllGarbage(true);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment