dotnet/runtime

Reduce memory consumption of the JIT by eliminating padding etc

Open

#6,756 opened on Oct 3, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (5,445 forks)batch import
JitThroughputarea-CodeGen-coreclrenhancementhelp wantedtenet-performance

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

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

Contributor guide