dotnet/runtime

Reduce memory consumption of the JIT by eliminating padding etc

Open

#6756 aperta il 3 ott 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
JitThroughputarea-CodeGen-coreclrenhancementhelp wantedtenet-performance

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

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

Guida contributor