allocate the right number of slots for the handle table when number of processors...
authorDavid Mason <davmason@microsoft.com>
Tue, 15 Jan 2019 18:23:48 +0000 (10:23 -0800)
committerJan Kotas <jkotas@microsoft.com>
Tue, 15 Jan 2019 18:23:48 +0000 (10:23 -0800)
src/gc/objecthandle.cpp

index 3045c67..9c459f3 100644 (file)
@@ -534,7 +534,7 @@ int getNumberOfSlots()
     if (!IsServerHeap())
         return 1;
 
-    return GCToOSInterface::GetCurrentProcessCpuCount();
+    return GCToOSInterface::GetTotalProcessorCount();
 }
 
 class HandleTableBucketHolder