Patent ID: 8413125
Filing Date: 2013-04-02
Classification: G06F

Abstract:
1. A computer-implemented method of creating machine instructions, the method comprising: each session in a plurality of sessions updating a multi-session counter in response to an interpreter executing within said each session, a given method comprising a plurality of to-be-interpreted instructions; wherein the multi-session counter is updated by multiple sessions concurrently or simultaneously without locking, wherein in the event that one session starts updating the multi-session counter before another session finishes updating the multi-session counter, the multi-session counter becomes inaccurate relative to a number of interpretations of the given method in the plurality of sessions; a common process for the plurality of sessions compiling the given method to obtain compiled software, in response to the multi-session counter exceeding a preset limit, regardless of whether the multi-session counter has become inaccurate; and after completion of the compiling, said each session executing the compiled software from a shared memory accessible to the plurality of sessions.