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

贡献者指南