System and method for regeneration of methods and garbage collection of unused methods
Abstract
A system and method for improving the effectiveness of a data processing application when using a virtual machine, where the program includes many methods, i.e. program sections, that are stored in the memory of the computer used, and where garbage collecting is used by said program. Thread stacks are first analyzed with respect to the methods required thereby. Each of the methods required is caused to be regenerated, where occurrent references to a method are replaced with references to the regenerated methods. All non-regenerated methods are then erased, and the corresponding memory space released.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of optimizing distribution of software methods within a memory space of a virtual machine, comprising the steps of: determining, within a plurality of methods originally distributed within a memory space of a virtual machine, a selection of the plurality of methods to be regenerated, wherein the step of determining includes analyzing threads to determine the methods currently required; creating regenerated methods, and replacing references to each method in the selection with references to the regenerated method; and erasing methods that have not been regenerated, wherein the step of
- Claim 2Depends on #1
The method of claim 1 , wherein the step of analyzing threads includes analyzing thread stacks to determine the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (2)
- Amitabh Srivastava, "Unreachable Procedures in Object-Oriented Programming", 1992; ACM, pp. 1-10.
- Pascal Fradet, "Collecting More Garbage", 1994, AMC; pp. 1-10.