-
Notifications
You must be signed in to change notification settings - Fork 58
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
Implement AR transformation variant that uses Atomic classes without field updaters #17
Comments
AR
transformation variant that uses Atomic*
classes
The decision is that we introduce a separate |
(On hold for now, until we figure out how to reproduce original problem) |
Any updates for the two-years-old issue? |
It's unlikely we are going to implement regular atomics transformation. The number of "bugged" devices in use is reducing each year and without them, such change has no benefits, only maintenance burden. Additionally, we have to investigate the current state of Android multi-release JAR support |
The Android toolchain currently ignores MR jar classes as of sometime in the AGP 3.x series (~2-3 years ago). |
MR jars allow use to use
However, I don't immeditely see how it helps with |
We need to implement a new transformation variant
AR
(in addition to existingFU
andVH
variants) that would transform classes usingatomic
objects tojava.util.concurrent.Atomic*
classes without using*FieldUpdater
classes. The behavior of the (default)BOTH
variant is to be decided later. See discussion in Kotlin/kotlinx.coroutines#490 on why this is needed and what should be the default.The text was updated successfully, but these errors were encountered: