TBR'ed.

On Thu, Mar 4, 2010 at 8:36 AM,  <[email protected]> wrote:
> Reviewers: Mads Ager,
>
> Description:
> Nasty workaround for bug 632.
>
> Please review this at http://codereview.chromium.org/669045
>
> SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
>
> Affected files:
>  M     src/api.cc
>
>
> Index: src/api.cc
> ===================================================================
> --- src/api.cc  (revision 4011)
> +++ src/api.cc  (working copy)
> @@ -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