Author: [email protected]
Date: Wed Apr 22 07:00:12 2009
New Revision: 1771
Modified:
branches/bleeding_edge/src/execution.cc
Log:
Use CollectAllGarbage for the gc() extension.
Review URL: http://codereview.chromium.org/5666
Modified: branches/bleeding_edge/src/execution.cc
==============================================================================
--- branches/bleeding_edge/src/execution.cc (original)
+++ branches/bleeding_edge/src/execution.cc Wed Apr 22 07:00:12 2009
@@ -636,7 +636,7 @@
v8::Handle<v8::Value> GCExtension::GC(const v8::Arguments& args) {
// All allocation spaces other than NEW_SPACE have the same effect.
- Heap::CollectGarbage(0, OLD_DATA_SPACE);
+ Heap::CollectAllGarbage();
return v8::Undefined();
}
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---