×

Preferential execution of method calls in hybrid systems

  • US 8,869,119 B2
  • Filed: 09/14/2012
  • Issued: 10/21/2014
  • Est. Priority Date: 03/12/2012
  • Status: Active Grant
First Claim
Patent Images

1. A system for running distributed programs in hybrid system, comprising:

  • a processor in the hybrid system running an application program; and

    an affinity-based preferential call module operable to intercept a program'"'"'s method call in runtime, the affinity-based preferential call module further operable to look up a symbolic reference associated with the trapped method call for one or more platform-specific implementations, the affinity-based preferential call module further operable to select 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 the hybrid system, the affinity-based preferential call module further operable to replace the symbolic reference associated with the trapped method call with a 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
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×