Method and system for determining memory usage of a heap
Abstract
A method and system for determining the memory utilization of a heap are provided. With the method and system, object allocations and optionally, possible memory freeing events are used to initiate a mark-and-count operation. The mark-and-count operation marks the live objects and maintains a running count of their memory bytes allocated to the live objects, referred to as a live count. The execution of the mark-and-count operation may be dependent upon various criteria including thresholds, functions of the live count, peak live counts, number of memory bytes allocated since a previous mark-and-count operation was performed, and the like. In addition to the live count, a total number of bytes allocated to objects may be maintained in order to obtain information regarding the heap memory utilization.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, in a data processing system, for determining heap memory utilization, comprising: detecting an event associated with objects in a heap; determining if the event is an object allocation event; in response to determining that the event is an object allocation event, determining an allocation count since a last mark-and-count operation; determining if the allocation count since a last mark-and-count operation is equal to or greater than a predetermined threshold; in response to determining that the allocation count since a last mark-and-count operation is equal to or greater than a pred
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 (10)
Non-Patent Literature (3)
- Achanta et al., Method and System for Obtaining Memory Usage Information for a Heap When a Peak Live Count is Updated.
- Alexander et al., "A unifying approach to performance analysis in the Java environment", IBM Systems Journal, vol. 39, No. 1, 2000, pp. 118-134.
- Dimpsey et al., "Java server performance: A case study of building efficient, scalable Jvms", IBM Systems Journal, vol. 39, No. 1, 2000, pp. 151-174.