×

Asynchronous dynamic compilation based on multi-session profiling to produce shared native code

  • US 8,413,125 B2
  • Filed: 01/26/2007
  • Issued: 04/02/2013
  • Est. Priority Date: 01/26/2007
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×