Patents
US 7,181,732 B2#5477176 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for facilitating lazy type tagging for compiled activations

17Forward Citations (#5477176 Global)
0.9/yrCitation Velocity (#8074048 Global)
1.93Citation PageRank (#15431272 Global)
6Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

One embodiment of the present invention provides a system for type tagging values in a compiled activation frame in a lazy manner to facilitate garbage collection. This system operates in a mixed-mode environment that supports both interpretation of byte codes and execution of compiled native code. Upon receiving an invocation of a method, the system creates an activation frame for the method on the execution stack. If the method is executing in interpreted mode, the interpreter maintains a tag for each value in the activation frame during execution. The tag indicates whether the value is a reference type or a primitive type. However, if the method is executing in compiled mode, the system allocates space for tags for each value in the activation frame, but does not fill in the tags during execution. This allows the tags to be filled in at a future time when needed.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for type tagging values in a compiled activation frame to facilitate garbage collection, wherein the method operates in a mixed-mode system that supports both interpretation of byte codes and execution of compiled native code, the method comprising: receiving an invocation of a method; creating an activation frame for the method on the execution stack; interpreting byte code methods; wherein if the method is executing in interpreted mode, the interpretation involves maintaining a tag for each value in the activation frame during execution, wherein a given tag indicates whether a given

Technical Overview & Description

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

Non-Patent Literature (4)

  • Publication entitled "Fast, Effective Code Generation in a Just-In-Time Java Compiler", by Ali-Reza Adl-Tabatabai et al., XP-000766277, pp. 280-290.
  • Publication entitled "Garbage Collection for Strongly-Typed Languages Using Run-Time Type Reconstruction", by Shail Aditya et al., XP-000522339, 1994 ACM, pp. 12-23.
  • Ravenbrook Ltd., 2001, The Memory Management Glossary, Section A, pp. 1-5 located online at: http://www.memorymanagement.org/glossary/a.html.
  • Web Resource, Feb. 1996, Ada Index: Run Time Structures, pp. 1-2, located online at: http://www.informatik.uni-stuttgart.de/ifi/bs/lehre/ei1/adanotes/Subprograms/runtime.html.