Revision: 4012
Author: [email protected]
Date: Wed Mar  3 23:43:05 2010
Log: Nasty workaround for bug 632.
Review URL: http://codereview.chromium.org/669045
http://code.google.com/p/v8/source/detail?r=4012

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

=======================================
--- /branches/bleeding_edge/src/api.cc  Wed Mar  3 05:44:20 2010
+++ /branches/bleeding_edge/src/api.cc  Wed Mar  3 23:43:05 2010
@@ -2909,6 +2909,10 @@
   i::Handle<i::Context> env;
   {
     ENTER_V8;
+
+    // BUG(632): Force GC to workaround instability issues.
+    i::Heap::CollectAllGarbage(false);
+
     v8::Handle<ObjectTemplate> proxy_template = global_template;
     i::Handle<i::FunctionTemplateInfo> proxy_constructor;
     i::Handle<i::FunctionTemplateInfo> global_constructor;

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

Reply via email to