Method and system for loading classes in read-only memory
Abstract
A method and system for providing an executable module having an address space for storing program data that is to reside in a read-only storage medium and an address space for storing program data that is to reside in a random access memory is herein described. The executable module represents Java classes that are structured for dynamic class loading. A static class loader is used to modify the class structure to accommodate static loading. The static class loader also identifies methods that contain unresolved symbolic references and data that varies during the execution of the module. These methods and data are identified in order to place them in the address space that resides in the random access memory. The static loader is beneficial in a distributed computing environment having a client computer that has little or no secondary storage thereby requiring applications to run entirely in random access memory. By utilizing a read-only memory to store statically loadable classes, the random access memory is left available for other uses.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 122.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of operating a computer, the method comprising the steps of: storing a class in a memory, the class including data and at least one method that includes a plurality of instructions, a subset of the instructions including symbolic references to computer accessible methods; flagging portions of the class' data when the class' data is modifiable by one of the class' methods; flagging each method of the class that includes a symbolic reference to a method not stored in the memory; and providing an executable module including the class, wherein each unflagged method and e
- Claim 2Depends on #1
The method of claim 1, the method
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 122 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- "Java Intermediate Bytecodes"; J. Gosling; 1995 ACM SIGPLAN Workshop on Intermediate Representations; pp. 111-118.
- Java Intermediate Bytecodes ; J. Gosling; 1995 ACM SIGPLAN Workshop on Intermediate Representations; pp. 111 118.