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: 30 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
One or more computer-readable media having computer-executable instructions for performing a method of splitting a class, the method comprising: specifying at least one threshold corresponding to a certain number of memory references made to at least one of a plurality of data members of an object; specifying a proposed cold group via the at least one threshold; receiving an indication of a policy according to a policy framework supporting a plurality of options and configured to determine whether or not the class is to be split based at least on the proposed cold group, wherein the policy ove
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (30)
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.