Patents
US 7,574,700 B2#10437493 Most CitedExpiredUnited States (USPTO)Utility

Supporting dynamically-typed languages in typed assembly languages

10Forward Citations (#10437493 Global)
0.6/yrCitation Velocity (#13562660 Global)
2.10Citation PageRank (#13423036 Global)
21Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

In accordance with one embodiment of the present invention, a technique for supporting dynamically typed languages in typed assembly languages is provided. According to one embodiment, a new bytecode instruction, “invokedynamic,” supplements “invokevirtual.” Prior to the execution of a typed assembly language program, it is determined whether a particular method-invoking instruction is a particular kind of instruction. If the instruction is of the particular kind, then the verifier refrains from performing the usual pre-execution type checking of the arguments that will be on the operand stack when the instruction is executed. Consequently, the bytecode instruction may be used to represent the invocation of a method that might not indicate formal parameter types. Because the verifier performs less stringent type checking in response to such an instruction, the JVM can execute assembly language programs that were generated based on source code that was written in a dynamically typed language.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 10.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: prior to executing a typed assembly language program that contains a particular instruction that invokes a programmatic method when executed, one or more processors performing steps comprising: determining whether the particular instruction is a particular kind of instruction; if the particular instruction is of the particular kind, then refraining from checking, prior to execution of the assembly language program, types of arguments that will be on a stack when the particular instruction is executed, and executing the assembly language program, includ

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (21)

PatentTitleYearCitations
US 5,740,441 ABytecode program interpreter apparatus and method with pre-verification of data type restrictions and object initialization1998204
US 5,966,702 AMethod and apparatus for pre-processing and packaging class files1999254
US 5,999,731 ABytecode program interpreter apparatus and method with pre-verification of data type restrictions and object initialization1999112
US 6,081,665 AMethod for efficient soft real-time execution of portable byte code computer programs2000405
US 6,247,171 B1Bytecode program interpreter apparatus and method with pre-verification of a data type restrictions and object initialization200156
US 6,327,700 B1Method and system for identifying instrumentation targets in computer programs related to logical transactions2001106
US 6,330,709 B1Virtual machine implementation for shared persistent objects2001125
US 6,338,160 B1Constant pool reference resolution method200260
US 6,438,745 B1Program conversion apparatus200251
US 6,477,702 B1Bytecode program interpreter apparatus and method with pre-verification of data type restrictions and object initialization200273
US 2002188827 A1Opcode numbering for meta-data encoding—2
US 6,513,156 B2Interpreting functions utilizing a hybrid of virtual and native machine instructions200342
US 6,591,416 B1Interpreting functions utilizing a hybrid of virtual and native machine instructions200313
US 2003154468 A1Verifier to check intermediate language—70
US 6,658,573 B1Protecting resources in a distributed computer system200361
US 6,704,923 B1System and method for pre-verification of stack usage in bytecode program loops200435
US 6,745,384 B1Anticipatory optimization with composite folding2004154
US 6,910,205 B2Interpreting functions utilizing a hybrid of virtual and native machine instructions200516
US 7,058,929 B2Direct invocation of methods using class loader200659
US 7,080,366 B2Dynamic compiler and method of compiling code to generate dominant path and to handle exceptions200664

Non-Patent Literature (4)

  • Bracha, Gilad, "Generics in the Java Programming Language," [online], Jul. 5, 2004, [retrieved on Jun. 14, 2005]. Retrieved from the Internet: <http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf>, pp. 1-23.
  • Claims as Filed, App. No. 06251778.4, 10 pages.
  • Duggan, Dominic, "Sharing in Typed Module Assembly Language," Types in Compilation, Third International Workshop, 2001, XP-002384687 , pp. 85-116.
  • European Patent Office, "Extended European Search Report," App. No. 06251778.4, dated Jun. 23, 2003, 4 pages.