VM, Compiler, and Prefetch optimizations