Systems and methods for cache and pool initialization on demand
Abstract
Users and processes are provided with various features to control the memory usage by a cache and pool dynamically at runtime. The cache and pool can be initialized on demand to remove idle objects of classes from them without the server being restarted. When the cache and pool reach their maximum sizes, idle objects in them may be removed to make room for newly active objects using various strategies in batches, where the schedule (periodicity), size and processing time of each batch can be dynamically adjusted. When a newly created object is being added to a full cache where each object is enrolled in a transaction, one or more active objects may be passivated from the cache based on various criteria to make room for the new instance to be added. Various features of the cache and pool can be defined in a configuration file.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system to support cache initialization on demand, comprising: a container, associated with a transaction, to hold objects of one or more classes defined by an object-oriented programming language, wherein the container is a part of an application server; a cache, within the container, to store in a first memory a first one or more objects of the one or more classes, wherein the first one or more objects stored in the cache can be at least one of enrolled in the transaction and idle; a pool, within the container, to store in a second memory a second one or more objects of the one or more clas
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗