Method and apparatus for distinguishing reference values from non-reference values in a runtime environment
Abstract
A method and apparatus for distinguishing reference values from non-reference values in a runtime environment is described. A set of volatile registers and a set of non-volatile registers are statically determined. The set of volatile registers is partitioned into reference and non-reference register partitions statically. The set of non-volatile registers is partitioned into reference and non-reference partitions dynamically.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 18.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A machine readable medium containing executable computer program instructions which when executed by a data processing system cause said system to perform a method of garbage collection, the method comprising: reading a register mask for a subroutine to determine a set of reference values stored on a stack; determining whether the reference values stored on the stack correspond to a live object in memory; counting back links stored on the stack; and restarting initialization of reference values in response to a determination based on a number of the back links stored on the stack.
- Claim 2Depends on #1
The medium of claim 1 , wherein the determination comprises whether the number of the back links stored on the stack is an odd number.
- Claim 3Depends on #1
The medium of claim 1 , wherein the register mask is de
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (37)
Non-Patent Literature (4)
- Santhanam & Odnert, "Register Allocation Across Procedure and Module Boundaries," Proceedings of the ACM SIGPLAN'90 Conf. on Programming Language Design and Implementation, 1990, pp. 28-39.
- Title: Garbage Collection for Prolog Based on WAM, author: Appleby et al, ACM, Jun. 1988.*
- Title: Garbage collection in object oriented systenm author: Wilson, OOPSLA, 1991.*
- Title: Performance of a Hardware-Assisted Real-Time Garbage Collector, author: Schmidt et al, ACM, 1994.*