Mechanism to reduce the cost of forwarding pointer aliasing
Abstract
Short-quasi-unique-identifiers (SQUIDs) are generated and assigned to the data objects stored in memory. Pointers to a particular data object contain the data object's assigned SQUID. If a data object is moved to a second allocated memory segment, a new pointer to the second allocated memory segment is placed at the original memory segment, so that any pointers to the original memory segment now point to the new pointer. The distribution of SQUIDs is uniform. SQUIDs can be generated by counting, generated randomly, generating through some hashing mechanism, or other means. In comparing two different pointers, it is determined that the two pointers do not reference the same data object if the SQUIDs are different. On the other hand, if the SQUIDs are identical and the address fields of the two pointers are identical, then the two pointers reference the same data object. In addition, a pointer is associated with a migration indicator field which indicates the number of migrations of the referenced data object prior to the pointer being created. The comparator determines that two pointers do not reference the same data object if their associated migration indicators indicate ident
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 15.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A data processing system for processing programs, the system comprising: memory for storing data objects, the data objects being referenced by pointers; a short-quasi-unique-identifier (SQUID) generator which generates SQUIDs for newly allocated data objects to be stored in the memory segment, pointers to a particular data object being associated with the data object's SQUID; and a comparator which compares SQUIDs associated with two different pointers.
- Claim 2Depends on #1
The system of claim 1 , further comprising: a memory allocator which allocates a segment of the memory to a data object.
- Claim 3Depends on #2
The system of claim 2 , wherein if the data object is moved to a second allocated memory segment, a pointer to the second allocated memory segment is placed at the original memory segment.
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 15 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (4)
- Carter, N. P., et al., "Hardware Support for Fast Capability-based Addressing", Proc. 6<SUP>th </SUP>International Conference on Architectural Support for Programming Languages and Operating Systems, (1994).
- Day, M., et al., "References to Remote Mobile Objects in Thor", ACM Letters on Programming Languages& Systems, 2 (1-4) :115-126 (1993).
- Luk, C. K., and Mowry, T.C., "Memory Forwarding: Enabling Aggressive Layout Optimizations by Guaranteeing the Safety of Data Relocation," Proc. ISCA '99, pp. 88-99 (1999).
- Moss, J. E. B., "Design of the Mneme Persistent Object Store", ACM Transactions on Information Systems, 8 (2) :103-139 (1990).