Actually increment queue length for parallel recompile queue.
R=jkummerow@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/12039088 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
47d2fa5c51
commit
5681ef6fee
@ -135,6 +135,8 @@ Handle<SharedFunctionInfo>
|
||||
|
||||
void OptimizingCompilerThread::QueueForOptimization(
|
||||
OptimizingCompiler* optimizing_compiler) {
|
||||
ASSERT(IsQueueAvailable());
|
||||
Barrier_AtomicIncrement(&queue_length_, static_cast<Atomic32>(1));
|
||||
input_queue_.Enqueue(optimizing_compiler);
|
||||
input_queue_semaphore_->Signal();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user