System and method for regeneration of methods and garbage collection of unused methods
Abstract
The present invention provides 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 methods required thereby. Each of the methods required is caused to be regenerated where occurrent references to a method are replaced with reference to regenerated methods prior to the regeneration of a method. All non-regenerated methods are then erased, wherein the corresponding memory space is placed at the disposal of said program. Various means of locking and garbage collection can be used.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A process for optimizing the distribution of software methods within the memory space of a computer system or virtual machine, wherein said virtual machine includes one or more threads, comprising the steps of: determining, within a set of methods originally distributed within the memory space of said virtual machine, a selection of said methods to be regenerated, wherein said step of determining includes analyzing the thread stacks to determine those methods currently required by the threads; creating regenerated methods, and replacing references to each method in the selection with reference
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 (12)
Non-Patent Literature (2)
- Amitabh Srivastava, Unreachable Procedures in Object-Oriented Programming, 1992, ACM, pp. 1-10.
- Pascal Fradet, Collecting More Garbage, 1994, ACM, pp. 1-10.