summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
authorAndy Ayers <andya@microsoft.com>2018-07-22 09:12:10 -0700
committerGitHub <noreply@github.com>2018-07-22 09:12:10 -0700
commit45f1ec9c4d91733c76868870ff85f2beafabdd39 (patch)
treecdfdd39558154c4e533609fddf7262fe1bba33a1 /clrdefinitions.cmake
parente9595bec6df5fbfc9fb8be811f51418c3b9cf945 (diff)
downloadcoreclr-45f1ec9c4d91733c76868870ff85f2beafabdd39.tar.gz
coreclr-45f1ec9c4d91733c76868870ff85f2beafabdd39.tar.bz2
coreclr-45f1ec9c4d91733c76868870ff85f2beafabdd39.zip
JIT: stateful local ref counts and weights (#19068)
Introduce a notion of state for local var ref counts and weighted ref counts. Accesses and current state must agree. State is invalid initially, enabled for an early period around bits of morph, invalid again for a time, and then enabled normally once lvaMarkRefs is called. Accesses normally specify RCS_NORMAL as the desired state, but in the accesses of selected ref counts in morph, specify RCS_EARLY. Revise how we decide if normal ref counting is active by changing `lvaLocalVarRefCounted` into a method. Update `gtIsLikelyRegVar` to not access ref counts when they're not in a valid state. Change weight APIs over to use `weight_t`.
Diffstat (limited to 'clrdefinitions.cmake')
0 files changed, 0 insertions, 0 deletions