Commit faf89ab5 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'overflow-queue-warn' into 'master'

[AbstractWorkStealingScheduler] Emit warning if overflow queue is used

See merge request !365
parents 7eb9700e 62197ce3
......@@ -58,6 +58,11 @@ void AbstractWorkStealingScheduler::scheduleViaWorkStealing(Fiber& fiber) {
enqueueInAnywhereQueue(fiber);
emper::statsIncr(awss::stats.scheduledFibersToOverflowQueue);
if (!queueFullWarningEmitted) [[unlikely]] {
queueFullWarningEmitted = true;
LOGW("Work-stealing scheduling queues full: overflow queue used!");
}
} else {
ABORT("Could not push fiber " << &fiber << " into queue");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment