dotnet/runtime

Reduce memory consumption of the JIT by eliminating padding etc

Open

#6,756 建立於 2016年10月3日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)C# (5,445 fork)batch import
JitThroughputarea-CodeGen-coreclrenhancementhelp wantedtenet-performance

倉庫指標

Star
 (17,886 star)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

The "struct GenTree_" family is the most obvious example of this, though other important JIT data structures should be checked as well - make sure there is no unnecessary padding (due to data member alignment), see if data members could be rearranged to reduce overall size, and specifically in the case of GenTree_ make sure the sizes of the "small" vs. "large" nodes (and which GenTree* flavors are marked as always having to be "large") are optimized.

category:throughput theme:jit-coding-style skill-level:intermediate cost:small impact:small

貢獻者指南