Profile-driven data layout optimization
Abstract
Data layout optimization arranges data members within memory to enhance software performance. Profiling data is consulted to determine how to group data members for an object class into groups. One technique groups the data members based on how frequently the data members are referenced in memory. Another technique groups the data members based on their affinities for one another in time as determined by observing when references to the data members take place. A variety of options when collecting the profiling data and grouping the data members is supported. The data member grouping is recorded in metadata associated with a definition of the object class. At runtime, a class loader places the data members of an object in memory according to the metadata. Data members of different groups can be placed in separately-loadable units of memory in the memory system. Subsequently, when the data members are referenced in memory, more frequently referenced data members, including those that tend to be referenced at times close to each other, reside at neighboring locations in the memory system.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 22.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
One or more computer-readable media having computer-executable instructions for performing a method of arranging a plurality of data members of an object in a memory system, the method comprising: identifying more frequently referenced data members out of the plurality of data members of the object by consulting profiling data for the object; responsive to said identifying the more frequently referenced data members out of the plurality of data members of the object, grouping the more frequently referenced data members out of the plurality of data members of the object together into a group of
- Claim 2Independent Claim
The one
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 22 total)
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- "Basic Techniques for Design and Analysis of Algorithms," The Computer Science and Engineering Handbook, Tucker (ed.), CRC Press, pp. 64-85, 1997.
- "BIBOP (also known as big bag of pages)," p. 1, Dec. 20, 2000.
- "Big bag of pages," http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?Big+bag+of+pages, p. 1, Mar. 3, 2000.
- "Graph and Network Algorithms," The Computer Science and Engineering Handbook, Tucker (ed.), CRC Press, pp. 203-225, 1997.
- "Memory Management," Microsoft Win32 Programmer's Reference, vol. 2, System Services, Multimedia, Extensions, and Application Notes, Microsoft Press, pp. 3-16, 1993.