rsocket / rsocket-kotlin

RSocket Kotlin multi-platform implementation
http://rsocket.io
Apache License 2.0
553 stars 37 forks source link

Discuss using field updaters #89

Closed yschimke closed 4 years ago

yschimke commented 4 years ago

Combination of things

atomicfu uses FieldUpdaters on Java 8, VarHandler on Java 9+ rsocket-kotlin, kotlin 1.4 is broken on graal (JDK 8) rsocket-kotlin, kotlin 1.4 works on graal (JDK 11) - if you avoid VarHandles

Hence raising this PR to see how much we care about this optimisation?