-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Delegate properties to atomics #3265
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
Conversation
@@ -104,9 +104,7 @@ private class AwaitAll<T>(private val deferreds: Array<out Deferred<T>>) { | |||
lateinit var handle: DisposableHandle | |||
|
|||
private val _disposer = atomic<DisposeHandlersOnCancel?>(null) | |||
var disposer: DisposeHandlersOnCancel? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while we are here, it seems like it should just be
@Volatile
private var disposer: DisposeHandlersOnCancel? = null
@@ -62,6 +62,7 @@ public class kotlinx/coroutines/CancellableContinuationImpl : kotlin/coroutines/ | |||
public fun getContinuationCancellationCause (Lkotlinx/coroutines/Job;)Ljava/lang/Throwable; | |||
public final fun getResult ()Ljava/lang/Object; | |||
public fun getStackTraceElement ()Ljava/lang/StackTraceElement; | |||
public final fun getState$kotlinx_coroutines_core ()Ljava/lang/Object; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please investigate why these getters are now considered public. It seems like a specific attribute is missing from metadata
Any update about this one? |
34483fd
to
d3e718e
Compare
d3e718e
to
4b456cc
Compare
Depends on this: #3501 |
There was a bug revealed on JS IR side with Kotlin The fix in the compiler plugin will be provided with Kotlin |
jvm-ir transformer along with 1.8.10 Kotlin are in |
Can be opened as a new PR to avoid restoring all the context incrementally |
No description provided.