You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix (one more) ABA problem in tryUnpark
Global TaskContext to speedup CPU tasks
Documentation improvements
Stress tests constants tuned to be more robust and faster on local machine (and when ran from IDEA)
Style fixes
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/internal/LockFreeMPMCQueue.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ internal open class LockFreeMPMCQueue<T : LockFreeMPMCQueueNode<T>> {
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/scheduling/CoroutineScheduler.kt
+38-29Lines changed: 38 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import java.util.concurrent.*
9
9
importjava.util.concurrent.locks.*
10
10
11
11
/**
12
-
* Coroutine scheduler (pool of shared threads) which primary target is to distribute dispatched coroutine over worker threads,
12
+
* Coroutine scheduler (pool of shared threads) which primary target is to distribute dispatched coroutines over worker threads,
13
13
* including both CPU-intensive and blocking tasks.
14
14
*
15
15
* Current scheduler implementation has two optimization targets:
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/scheduling/ExperimentalCoroutineDispatcher.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ class ExperimentalCoroutineDispatcher(
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/scheduling/BlockingCoroutineDispatcherRaceStressTest.kt
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/scheduling/BlockingCoroutineDispatcherStressTest.kt
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/scheduling/CoroutineSchedulerStressTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ class CoroutineSchedulerStressTest : TestBase() {
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/scheduling/SchedulerTestBase.kt
-8Lines changed: 0 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,6 @@ abstract class SchedulerTestBase : TestBase() {
37
37
require(threads in range) { "Expected threads in $range interval, but has $threads" }
38
38
}
39
39
40
-
/**
41
-
* Asserts that [expectedThreadsCount] of pool worker threads exists at the time of method invocation
Copy file name to clipboardExpand all lines: core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/scheduling/WorkQueueStressTest.kt
0 commit comments