Do not use `AllocateUninitializedArray` in private array pools. (dotnet/coreclr#26338)
User may have extra expectations for the privatly owned array pools. For example there could be an expectation that array never contains negative numbers (since user never puts them there). Uninitialized allocations can break such expectations. Commit migrated from https://github.com/dotnet/coreclr/commit/c89fd6f88744bfee034e792906700c5a17e1b953
Showing
想要评论请 注册 或 登录