filo
filo copied to clipboard
Use Chronicle/Agrona/etc.
Something to abstract the UNSAFE methods so that upgrade to JDK9 can be smoother.
https://github.com/real-logic/Agrona/tree/master/agrona/src/main/java/org/agrona
https://github.com/netty/netty/blob/4.1/common/src/main/java/io/netty/util/internal/PlatformDependent0.java#L309
https://github.com/OpenHFT/Chronicle-Bytes/tree/master/src/main/java/net/openhft/chronicle/bytes
Agrona is on maven central: https://mvnrepository.com/artifact/org.agrona/Agrona/0.9.1