From 9107ff1d48a2454d1ac84a8dfa97178809d8e793 Mon Sep 17 00:00:00 2001 From: David Mason Date: Tue, 15 Jan 2019 10:23:48 -0800 Subject: [PATCH] allocate the right number of slots for the handle table when number of processors > 64 (#21992) --- src/gc/objecthandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4