We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, names of all threads that belong to CoroutineScheduler (Dispatchers.Default, Dispatchers.IO and Dispatchers.IO.limitedParallelism(...) are named DefaultDispatcher-worker-* which might be quite confusing to look at in thread dumps (i.e. it's possible to have dozens of such threads on 8 core machine). Example of such confusion: https://stackoverflow.com/questions/78502056/why-thread-name-is-defaultdispatcher-worker-even-though-i-specify-function-to-ru
CoroutineScheduler
Dispatchers.Default
Dispatchers.IO
Dispatchers.IO.limitedParallelism(...)
DefaultDispatcher-worker-*
While we cannot leverage Thread.setName because of its performance impact, we still can sweeten the pill:
Thread.setName
CoroutineScheduler-worker-
shared-pool-worker-
coroutine-pool-worker-
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, names of all threads that belong to
CoroutineScheduler
(Dispatchers.Default
,Dispatchers.IO
andDispatchers.IO.limitedParallelism(...)
are namedDefaultDispatcher-worker-*
which might be quite confusing to look at in thread dumps (i.e. it's possible to have dozens of such threads on 8 core machine).Example of such confusion: https://stackoverflow.com/questions/78502056/why-thread-name-is-defaultdispatcher-worker-even-though-i-specify-function-to-ru
While we cannot leverage
Thread.setName
because of its performance impact, we still can sweeten the pill:CoroutineScheduler-worker-
, something likeshared-pool-worker-
,coroutine-pool-worker-
etc.)The text was updated successfully, but these errors were encountered: