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:
ffbcb83
)
Fix special sweep issue for workstation (#81248)
author
Andrew Au
<andrewau@microsoft.com>
Mon, 6 Mar 2023 18:48:49 +0000
(10:48 -0800)
committer
GitHub
<noreply@github.com>
Mon, 6 Mar 2023 18:48:49 +0000
(10:48 -0800)
src/coreclr/gc/gc.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/gc/gc.cpp
b/src/coreclr/gc/gc.cpp
index
3ca3b8b
..
eecc2c0
100644
(file)
--- a/
src/coreclr/gc/gc.cpp
+++ b/
src/coreclr/gc/gc.cpp
@@
-30629,6
+30629,13
@@
void gc_heap::plan_phase (int condemned_gen_number)
gc_time_info[time_plan] = gc_time_info[time_sweep] - gc_time_info[time_plan];
}
#endif //FEATURE_EVENT_TRACE
+
+#ifdef USE_REGIONS
+ if (special_sweep_p)
+ {
+ should_compact = FALSE;
+ }
+#endif //!USE_REGIONS
#endif //MULTIPLE_HEAPS
#ifdef FEATURE_LOH_COMPACTION