[release/9.0-staging] handle case of Proc Index > MAX_SUPPORTED_CPUS by github-actions[bot] · Pull Request #109385 · dotnet/runtime (original) (raw)

Backport of #109295 to release/9.0-staging

/cc @mangod9

Customer Impact

The issue occurs mainly when running a x86 .NET app with ServerGC on a machine with > 64 cores. If the app is scheduled to run on the higher cpu group it could lead to an AV.

Regression

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

Verified locally on a machine with >64 cores. Additionally support and customer has validated the fix.

Risk

Low

IMPORTANT: If this backport is for a servicing release, please verify that: