Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index e51fb42c8f9c484bcf768b440541e5b80e951517..401e4edc6d7af8befd1cccf2d1d1b76fa61f5542 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -945,9 +945,9 @@ void Compiler::RecompileParallel(Handle<JSFunction> closure) { |
if (status == OptimizingCompiler::SUCCEEDED) { |
// Do a scavenge to put off the next scavenge as far as possible. |
Jakob Kummerow
2013/03/18 10:22:19
Please move this comment along with the line it ap
|
// This may ease the issue that GVN blocks the next scavenge. |
- isolate->heap()->CollectGarbage(NEW_SPACE, "parallel recompile"); |
shared->code()->set_profiler_ticks(0); |
info.Detach(); |
+ isolate->heap()->CollectGarbage(NEW_SPACE, "parallel recompile"); |
isolate->optimizing_compiler_thread()->QueueForOptimization(compiler); |
} else if (status == OptimizingCompiler::BAILED_OUT) { |
isolate->clear_pending_exception(); |