We don't need a lock for the output queue on the main thread
authorjochen <jochen@chromium.org>
Tue, 24 Feb 2015 13:42:05 +0000 (05:42 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 24 Feb 2015 13:42:15 +0000 (13:42 +0000)
commit09e0f6e21f2ba68fa6ed80702ca73b1808a6c782
treee3927fa960f1e62c621425ecd13547364dd8f468
parent3a9817546964194d826ac9e16166cd14db5eb39e
We don't need a lock for the output queue on the main thread

The output queue is supposed to be a lock-free anyways, we're just
temporarily abusing it by having multiple producers. For those, we need
the lock when enqueuing jobs.

BUG=none
R=yangguo@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/953883002

Cr-Commit-Position: refs/heads/master@{#26824}
src/optimizing-compiler-thread.cc