summaryrefslogtreecommitdiff
path: root/src/gc/objecthandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc/objecthandle.cpp')
-rw-r--r--src/gc/objecthandle.cpp2
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