diff options
author | David Mason <davmason@microsoft.com> | 2019-01-15 10:23:48 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-01-15 10:23:48 -0800 |
commit | 9107ff1d48a2454d1ac84a8dfa97178809d8e793 (patch) | |
tree | 7ac4b6a025151cf11619d071a2c6aa69775ed6d6 | |
parent | 716e6bb95cbec04111a057cc36f2642574ff7c55 (diff) | |
download | coreclr-9107ff1d48a2454d1ac84a8dfa97178809d8e793.tar.gz coreclr-9107ff1d48a2454d1ac84a8dfa97178809d8e793.tar.bz2 coreclr-9107ff1d48a2454d1ac84a8dfa97178809d8e793.zip |
allocate the right number of slots for the handle table when number of processors > 64 (#21992)
-rw-r--r-- | src/gc/objecthandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/objecthandle.cpp b/src/gc/objecthandle.cpp index 3045c675fa..9c459f3ad0 100644 --- a/src/gc/objecthandle.cpp +++ b/src/gc/objecthandle.cpp @@ -534,7 +534,7 @@ int getNumberOfSlots() if (!IsServerHeap()) return 1; - return GCToOSInterface::GetCurrentProcessCpuCount(); + return GCToOSInterface::GetTotalProcessorCount(); } class HandleTableBucketHolder |