-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 21
-
Component/s: client-libs
-
b09
VarHandle access gives much better performance compared to explicit bit-shifting, especially for operations in loops.
See https://github.com/openjdk/jdk/pull/11840 for similar changes made to the class java.io.Bits.
See https://github.com/openjdk/jdk/pull/11840 for similar changes made to the class java.io.Bits.