1. A method, comprising: randomly choosing, by a hypervisor executing in a host, an instruction in a JIT page, wherein the JIT page comprises a memory page storing a JIT compiled program comprising a plurality of instructions, wherein a plurality of virtual machines executes in the host, wherein the hypervisor controls the host's processor and memory for the virtual machines, wherein the JIT compiled program corresponds to an application executing in one of the virtual machines; moving, by the hypervisor, the chosen instruction to a shadow page corresponding to the JIT page; and replacing, by the hypervisor, the moved instruction in the JIT page with an interrupt instruction.