1. A computing device for multicore binary translation, the computing device comprising: a global translation cache; a multi-core processor comprising a plurality of processor cores, the multi-core processor to execute a global thread and a local binary translation thread, the global thread to install binary translations in the global translation cache; and a binary translation module comprising a binary translation thread scheduler to: determine, in a non-preemptive mode of a processor core of the plurality of processor cores and in response to entering the binary translation scheduler, whether the global thread is suspended; migrate the global thread to the processor core and resume the global thread in response to a determination that the global thread is suspended; determine, in the non-preemptive mode and in response to a determination that the global thread is not suspended, whether a global translation cache operation is pending; activate the global thread on the processor core in response to a determination that the global translation cache operation is pending; and start, in a preemptive mode on the processor core and in response to determining that the global translation cache operation is not pending, the local binary translation thread to generate a pending global translation cache operation; wherein the processor to enter, on a processor core of the plurality of processor cores, the binary translation scheduler in response to a hotspot event identifying a native code hotspot.
1. A computing device for multicore binary translation, the computing device comprising: a global translation cache; a multi-core processor comprising a plurality of processor cores, the multi-core processor to execute a global thread and a local binary translation thread, the global thread to install binary translations in the global translation cache; and a binary translation module comprising a binary translation thread scheduler to: determine, in a non-preemptive mode of a processor core of the plurality of processor cores and in response to entering the binary translation scheduler, whether the global thread is suspended; migrate the global thread to the processor core and resume the global thread in response to a determination that the global thread is suspended; determine, in the non-preemptive mode and in response to a determination that the global thread is not suspended, whether a global translation cache operation is pending; activate the global thread on the processor core in response to a determination that the global translation cache operation is pending; and start, in a preemptive mode on the processor core and in response to determining that the global translation cache operation is not pending, the local binary translation thread to generate a pending global translation cache operation; wherein the processor to enter, on a processor core of the plurality of processor cores, the binary translation scheduler in response to a hotspot event identifying a native code hotspot. 2. The computing device of claim 1 , wherein: the local binary translation thread comprises a translation thread; the binary translation thread scheduler further to: determine, in the non-preemptive mode in the binary translation scheduler, whether a binary translation exists for the hotspot in the global translation cache; and start, in the preemptive mode on the processor core and in response to a determination that the binary translation does not exist for the hotspot, the translation thread to: (i) generate the binary translation for the hotspot and (ii) enqueue the binary translation for installation when completed, wherein to enqueue the binary translation for installation comprises to generate the pending global translation cache operation; and wherein the global thread is further to: determine, in the non-preemptive mode, whether the binary translation has been enqueued for installation; and install, in the preemptive mode, the binary translation into the global translation cache in response to a determination that the binary translation has been enqueued for installation.