Optimizing heap memory usage
Abstract
Embodiments of the present invention provide a computing system and method to profile a program for finding potential optimization in heap usage by reducing lag and drag in lifetimes of heap memory blocks. The process consists of three steps. First, an instrumentation engine analyzes a given program and inserts additional code at interesting locations to collect needed information. Second, when the instrumented program is executed on a set of test cases, runtime data is collected. Third, since this data is large for a complex and long running program, data is processed to present it to a user in useful ways so that a programmer improves the heap utilization in the program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for optimizing usage of heap memory, the method comprising: loading into memory of a computer by a processor of the computer, existing program code instructions of a computer program; inserting additional program code instructions at predefined locations of the existing program code, the additional program code instructions being configured upon execution to search a header of a heap memory block utilized by the computer program and to identify data associated with lag and drag lifetimes of the heap memory block when used by the computer program; additionally inse
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (31)
Non-Patent Literature (5)
- Hastings, R., et al., "Purify: Fast Detection of Memory Leaks and Access Errors," Proceedings of the 1992 Winter USENIX Conference, 1992 [retrieved Sep. 29, 2014], Retrieved from Internet: , pp. 125-136.
- Hastings, R., et al., “Purify: Fast Detection of Memory Leaks and Access Errors,” Proceedings of the 1992 Winter USENIX Conference, 1992 [retrieved Sep. 29, 2014], Retrieved from Internet: <URL: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.184.8081>, pp. 125-136.
- Maebe, et al., "Precise detection of memory leaks," W1OS Workshop-26th International Conference on Software Engineering, 2004, pp. 25-31.
- Maebe, et al., “Precise detection of memory leaks,” W1OS Workshop—26th International Conference on Software Engineering, 2004, pp. 25-31.
- Pan, Michael, "HUP: A Heap Usage Profiling Tool for Java Programs", Tel-Aviv University [online], 2001 [retrieved Jul. 8, 2011], Retrieved from Internet: , pp. 1-60.