Fix OptimizingCompileDispatcher::HasJobs when --block-concurrent-recompilation
Bug: chromium:1234974 Change-Id: I4227853b9e6f232b7e17037cdac01c4f80320464 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3069281 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/master@{#76086}
This commit is contained in:
parent
c37c4e8adf
commit
d36cc6955e
@ -219,7 +219,7 @@ bool OptimizingCompileDispatcher::HasJobs() {
|
||||
// Note: This relies on {output_queue_} being mutated by a background thread
|
||||
// only when {ref_count_} is not zero. Also, {ref_count_} is never incremented
|
||||
// by a background thread.
|
||||
return !(ref_count_ == 0 && output_queue_.empty());
|
||||
return ref_count_ != 0 || !output_queue_.empty() || blocked_jobs_ != 0;
|
||||
}
|
||||
|
||||
void OptimizingCompileDispatcher::QueueForOptimization(
|
||||
|
Loading…
Reference in New Issue
Block a user