tl;dr: HotSpot doesn't seem to optimize a data copying loop for code that uses sun.misc.Unsafe, due to unknown reasons. Thus, we can generate bytecode at runtime to unroll said loop to make things go twice as fast.
Does anyone know if Unsafe is indeed blacklisted for JIT optimisations?