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:
558345d
)
We should not establish a heap hard limit for 32 bit platforms (#85844)
author
Andrew Au
<andrewau@microsoft.com>
Fri, 19 May 2023 20:34:06 +0000
(13:34 -0700)
committer
GitHub
<noreply@github.com>
Fri, 19 May 2023 20:34:06 +0000
(13:34 -0700)
src/coreclr/gc/gc.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/gc/gc.cpp
b/src/coreclr/gc/gc.cpp
index
f01b7ac
..
7dc00f2
100644
(file)
--- a/
src/coreclr/gc/gc.cpp
+++ b/
src/coreclr/gc/gc.cpp
@@
-49693,6
+49693,7
@@
bool gc_heap::compute_hard_limit()
bool gc_heap::compute_memory_settings(bool is_initialization, uint32_t& nhp, uint32_t nhp_from_config, size_t& seg_size_from_config, size_t new_current_total_committed)
{
+#ifdef HOST_64BIT
// If the hard limit is specified, the user is saying even if the process is already
// running in a container, use this limit for the GC heap.
if (!hard_limit_config_p)
@@
-49716,6
+49717,7
@@
bool gc_heap::compute_memory_settings(bool is_initialization, uint32_t& nhp, uin
{
return false;
}
+#endif //HOST_64BIT
#ifdef USE_REGIONS
{