×

Preferential execution of method calls in hybrid systems

  • US 8,843,894 B2
  • Filed: 03/12/2012
  • Issued: 09/23/2014
  • Est. Priority Date: 03/12/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for running distributed programs in a hybrid system having heterogeneous platforms, comprising:

  • trapping a program'"'"'s method call in runtime of a program executing on a processor;

    looking up a symbolic reference associated with the trapped method call for one or more platform-specific implementations;

    selecting a platform-specific implementation from said one or more platform-specific implementations based on affinity measure associated with said one or more platform-specific implementations, the affinity measure indicating how efficiently said one or more platform-specific implementations run on respective one or more platforms in said hybrid system;

    returning a direct reference to the selected platform-specific implementation; and

    replacing the symbolic reference associated with the trapped method call with the returned direct reference to the selected platform-specific implementation,wherein the hybrid system comprises at least a general-purpose processor and a special-purpose processor, and said one or more platform-specific implementations comprise at least code programmed to execute on the special-purpose processor.

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