New issue
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
Make runBlocking release worker permits before park and reacquire after unpark to avoid starvation #4084
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a73ddcf - Browse repository at this point
Copy the full SHA a73ddcfView commit details
Commits on May 8, 2024
-
IJI-1751 Parametrise Maven publication Space URL
(cherry picked from commit e53add8)
Configuration menu - View commit details
-
Copy full SHA for 3dab325 - Browse repository at this point
Copy the full SHA 3dab325View commit details -
IJI-1751 Allow setting
libs.space.pub
as Gradle property(cherry picked from commit e7bf19b)
Configuration menu - View commit details
-
Copy full SHA for b49f2aa - Browse repository at this point
Copy the full SHA b49f2aaView commit details
Commits on May 10, 2024
-
Switch Worker into a Blocking mode if it tries to run runBlocking wit…
…h a CPU permit And reacquire CPU permit after runBlocking finishes. This should resolve Dispatchers.Default starvation in cases where runBlocking is used to run suspend functions from non-suspend execution context. Kotlin#3983 / IJPL-721
Configuration menu - View commit details
-
Copy full SHA for efabd25 - Browse repository at this point
Copy the full SHA efabd25View commit details -
Introduce withUnlimitedIOScheduler utility method to use instead of d…
…irect interaction with Worker Kotlin#3983 / IJPL-721
Configuration menu - View commit details
-
Copy full SHA for 94571f6 - Browse repository at this point
Copy the full SHA 94571f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f54d9d0 - Browse repository at this point
Copy the full SHA f54d9d0View commit details -
Implement permit release also for LimitedDispatcher
PermitTransfer is extracted to be used both in CoroutineScheduler and in LimitedDispatcher. BlockingDispatchAware interface is introduced for LimitedDispatcher.Worker to be accounted by CoroutineScheduler. Kotlin#3983 / IJPL-721
Configuration menu - View commit details
-
Copy full SHA for 275a0ad - Browse repository at this point
Copy the full SHA 275a0adView commit details -
PermitTransfer: remove PERMIT_ACQUIRE_PARK_NS and make park() indefin…
…ite because preceding unpark() guarantees it to be non-blocking
Configuration menu - View commit details
-
Copy full SHA for bdc9930 - Browse repository at this point
Copy the full SHA bdc9930View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44b5963 - Browse repository at this point
Copy the full SHA 44b5963View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce9036d - Browse repository at this point
Copy the full SHA ce9036dView commit details -
Add a test for Default dispatcher liveness and fix a related bug in W…
…orker.releaseCpu
Configuration menu - View commit details
-
Copy full SHA for 4356632 - Browse repository at this point
Copy the full SHA 4356632View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd29ff6 - Browse repository at this point
Copy the full SHA bd29ff6View commit details -
Worker should give away local tasks upon requested CPU permit release…
…, otherwise they may be missed by other workers
Configuration menu - View commit details
-
Copy full SHA for 183d7f8 - Browse repository at this point
Copy the full SHA 183d7f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 811cbd1 - Browse repository at this point
Copy the full SHA 811cbd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c44035 - Browse repository at this point
Copy the full SHA 4c44035View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7a0fc3 - Browse repository at this point
Copy the full SHA c7a0fc3View commit details -
Make LimitedDispatcher's Worker respect BlockingDispatchAware on its …
…inner tasks also fix a probable worker deallocation race issue
Configuration menu - View commit details
-
Copy full SHA for de06466 - Browse repository at this point
Copy the full SHA de06466View commit details -
Configuration menu - View commit details
-
Copy full SHA for adbb5b4 - Browse repository at this point
Copy the full SHA adbb5b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3561c13 - Browse repository at this point
Copy the full SHA 3561c13View commit details -
Configuration menu - View commit details
-
Copy full SHA for c702d2a - Browse repository at this point
Copy the full SHA c702d2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8568346 - Browse repository at this point
Copy the full SHA 8568346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e1a97d - Browse repository at this point
Copy the full SHA 0e1a97dView commit details