I don't see where it's defined, but some JIT parts do not even compile if it's enabled (syntax errors), so I assume it can be deleted.
Activity
EgorBo commentedon Sep 12, 2026
cc @jkotas @dotnet/gc if it rings a bell
dotnet-policy-service commentedon Sep 12, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
jkotas commentedon Sep 12, 2026
IIRC, it was originally introduced by somebody on the JIT team to collect statistics about write barrier usage.
I agree that it can be deleted.
Remove FEATURE_COUNT_GC_WRITE_BARRIERS due to compilation errors (#13…
Remove FEATURE_COUNT_GC_WRITE_BARRIERS due to compilation errors (dot…