Patent ID: 7685565
Filing Date: 2010-03-23
Classification: G06F

Abstract:
1. A method of accelerating the execution of a computing task by converting a general purpose Java method invocation to a more specific purpose Java method invocation, the method of accelerating comprising the steps of: providing a pattern table, wherein each record entry of said pattern table associates a named method of a Java class with: (a) conditions to be satisfied by an argument of said named method, and (b) a conversion procedure that converts a general purpose Java method invocation to a specific purpose Java method invocation; loading a Java class having at least one general purpose Java method invocation; determining whether the general purpose Java method corresponds to a named method of a Java class included in said pattern table; upon determining that the general purpose Java method is included in said pattern table as a named method of a Java class, determining whether an argument of the general purpose method satisfies the conditions associated with said named method of a Java class, wherein said conditions include at least that the argument is constant, that the argument is at a position specified by the pattern table, and that the argument matches a specified pattern; upon determining that said argument matches said conditions, replacing the general purpose method invocation with a specific purpose Java method invocation according to the conversion procedure specified in the pattern table.