projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716e6bb
)
allocate the right number of slots for the handle table when number of processors...
author
David Mason
<davmason@microsoft.com>
Tue, 15 Jan 2019 18:23:48 +0000
(10:23 -0800)
committer
Jan Kotas
<jkotas@microsoft.com>
Tue, 15 Jan 2019 18:23:48 +0000
(10:23 -0800)
src/gc/objecthandle.cpp
patch
|
blob
|
history
diff --git
a/src/gc/objecthandle.cpp
b/src/gc/objecthandle.cpp
index
3045c67
..
9c459f3
100644
(file)
--- a/
src/gc/objecthandle.cpp
+++ b/
src/gc/objecthandle.cpp
@@
-534,7
+534,7
@@
int getNumberOfSlots()
if (!IsServerHeap())
return 1;
- return GCToOSInterface::Get
CurrentProcessCpu
Count();
+ return GCToOSInterface::Get
TotalProcessor
Count();
}
class HandleTableBucketHolder