From: David Mason Date: Tue, 15 Jan 2019 18:23:48 +0000 (-0800) Subject: allocate the right number of slots for the handle table when number of processors... X-Git-Tag: accepted/tizen/unified/20190422.045933~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9107ff1d48a2454d1ac84a8dfa97178809d8e793;p=platform%2Fupstream%2Fcoreclr.git allocate the right number of slots for the handle table when number of processors > 64 (#21992) --- diff --git a/src/gc/objecthandle.cpp b/src/gc/objecthandle.cpp index 3045c67..9c459f3 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