From 8165d49173ddd3772126a2b128fbd331ba960cf2 Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Thu, 6 Jun 2013 15:32:39 +0000 Subject: [PATCH] Do not GC prior to every parallel recompile. R=jkummerow@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/16410005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14986 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/compiler.cc b/src/compiler.cc index 5320fc9..5fc107f 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -950,9 +950,6 @@ void Compiler::RecompileParallel(Handle closure) { if (status == OptimizingCompiler::SUCCEEDED) { info.Detach(); shared->code()->set_profiler_ticks(0); - // Do a scavenge to put off the next scavenge as far as possible. - // This may ease the issue that GVN blocks the next scavenge. - isolate->heap()->CollectGarbage(NEW_SPACE, "parallel recompile"); isolate->optimizing_compiler_thread()->QueueForOptimization(compiler); } else if (status == OptimizingCompiler::BAILED_OUT) { isolate->clear_pending_exception(); -- 2.7.4