Abstract: A method for compiling source code, involving: obtaining a statement of the source code comprising a method call, where the source code is composed in a statically-typed programming language; determining whether the method call is a dynamic method call; upon determining that the method call is a dynamic method call, compiling a dynamic method invocation without performing type checking on the method call; upon determining that the method call is not a dynamic method call: performing type checking on the method call, selecting a target method to invoke, and compiling a static method invocation to invoke the target method.
January 15, 2010
Date of Patent:
February 26, 2013
Oracle America, Inc. formerly Sun Microsystems, Inc.
Alexander R. Buckley, John Rose, Joseph D. Darcy