File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
kotlinx-coroutines-core/jvm/src/internal Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = this.wi
1313@Suppress(" ACTUAL_WITHOUT_EXPECT" ) // Visibility
1414internal actual typealias WorkaroundAtomicReference <T > = java.util.concurrent.atomic.AtomicReference <T >
1515
16+ // BenignDataRace is OptionalExpectation and doesn't have to be here
17+ // but then IC breaks. See KT-66317
18+ @Retention(AnnotationRetention .SOURCE )
19+ @Target(AnnotationTarget .FIELD )
20+ internal actual annotation class BenignDataRace ()
21+
1622@Suppress(" NOTHING_TO_INLINE" ) // So that R8 can completely remove ConcurrentKt class
1723internal actual inline fun <E > identitySet (expectedSize : Int ): MutableSet <E > =
1824 Collections .newSetFromMap(IdentityHashMap (expectedSize))
You can’t perform that action at this time.
0 commit comments