https://blogs.oracle.com/javamagazine/the-unsafe-class-unsafe-at-any-speed
From time to time, you may need to break the rules. In the Java platform, this is normally accomplished by using one of three primary mechanisms: reflection, class loading (including associated bytecode transformation), and
Unsafe
.