projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72192f8
)
Add missing method contract
author
Jan Kotas
<jkotas@microsoft.com>
Wed, 18 May 2016 09:37:56 +0000
(
02:37
-0700)
committer
Jan Kotas
<jkotas@microsoft.com>
Wed, 18 May 2016 09:37:56 +0000
(
02:37
-0700)
[tfs-changeset: 1605842]
Commit migrated from https://github.com/dotnet/coreclr/commit/
1bbb6e4941b26053ec81be3f5bedf187fc336076
src/coreclr/src/vm/gcenv.os.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/gcenv.os.cpp
b/src/coreclr/src/vm/gcenv.os.cpp
index
de87e05
..
1972b23
100644
(file)
--- a/
src/coreclr/src/vm/gcenv.os.cpp
+++ b/
src/coreclr/src/vm/gcenv.os.cpp
@@
-345,6
+345,8
@@
uint32_t GCToOSInterface::GetCurrentProcessCpuCount()
// non zero if it has succeeded, 0 if it has failed
size_t GCToOSInterface::GetVirtualMemoryLimit()
{
+ LIMITED_METHOD_CONTRACT;
+
MEMORYSTATUSEX memStatus;
::GetProcessMemoryLoad(&memStatus);