Skip to content

Conversation

@kennethshackleton
Copy link
Member

@kennethshackleton kennethshackleton commented Dec 31, 2025

The VarHandle optimization provides some performance improvements for server/JVM deployments without regressing performance on Android. MethodHandles requires Android SDK 26.

Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
… having to convert Int to Boolean seems to hurt reads.

Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
JMH is not compatible with KSP.

Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
Signed-off-by: kshackleton1 <kshackleton1@bloomberg.net>
@sonarqubecloud
Copy link

@kennethshackleton kennethshackleton changed the title Use VarHandle if available, failing over to AtomiciIntegerFieldUpdater. Use VarHandle if available, failing over to AtomicIntegerFieldUpdater. Jan 21, 2026
@kennethshackleton kennethshackleton added the question Further information is requested label Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant