Method of tracing object allocation site in program, as well as computer system and computer program therefor
Abstract
A data structure of a run-time object having a hash value field. The data structure allows an object allocation site to be traced from the run-time object, the object allocation site being a site in a program allocating the run-time object. A method for allowing an object allocation site to be traced from a run-time object includes embedding a value corresponding to the object allocation site in the program. A hash-value field includes the embedded value and the object identifier, and the tracing is performed by identifying the object allocation site that corresponds to the embedded value. A computer system for tracing an object allocation site includes a memory that stores the run-time object; an acquirer that acquires the value from a hash value field; and an identification unit that identifies the object allocation site that corresponds to the acquired value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method comprising: allocating in a memory, from an object allocation site, a run-time object having a hash-value field comprising a hash value identifying the run-time object from among other run-time objects of a class, wherein the object allocation site is a site in a program allocating the run-time object; embedding into the hash-value field as at least a part of the hash value identifying the run-time object from among other run-time objects of a class, in response to allocating the run-time object, an allocation site identifier corresponding to the allocation site;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2013318506 A1 | Profiling Operating Context | — | 11 |
| US 9,507,713 B1 | Memory object pretenuring | 2016 | 2 |
| US 8,978,017 B2 | Profiling operating context | 2015 | 9 |
References Cited — Backward Prior Art (29)
Non-Patent Literature (3)
- "Differential Register Allocation" by Xiaotong Zhuang and Santosh Pande, PLDI'05, Jun. 12-15, 2005) Chicago Illinois, USA.
- K. Russell, et al., "Eliminating Synchronization-Related Atomic . . . Rebiasing", In Proceedings of the ACM SIGPLAN 2006, Conference on Object-Oriented Programing, pp. 263-272.
- R. Shaham,et al., "Heap Profiling for Space-Efficient Java", In Proceedings of the ACM SIGPLAN 2001, Conference of Programing Language. ., pp. 104-113.