- 专利标题: Profile-driven data layout optimization
-
申请号: US11069232申请日: 2005-02-28
-
公开(公告)号: US20050177822A1公开(公告)日: 2005-08-11
- 发明人: Gerald Kuch , Brian Beckman , Jason Zander
- 申请人: Gerald Kuch , Brian Beckman , Jason Zander
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F9/445 ; G06F9/45
摘要:
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.
公开/授权文献
- US07496909B2 Profile-driven data layout optimization 公开/授权日:2009-02-24