1. A system, comprising: a processor; and a compiler configured to execute on the processor to compile Java source code for execution on the processor, wherein the compiler generates a sing intermediate instruction optimizable to a single native instruction at runtime and replaces the single intermediate instruction with a single native rewrite instruction comprising a rewrite operation code, wherein execution of the single native rewrite instruction by the processor rewrites the single native rewrite instruction into the single native instruction, and wherein the single intermediate instruction comprises an operation code of a first instruction set type of the processor, and the single native rewrite instruction is an instruction in a second instruction set type of the processor.