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:
d51400a
)
We should not call distribute_free_regions at the end of background GC - then it...
author
Peter Sollich
<petersol@microsoft.com>
Wed, 22 Sep 2021 06:22:18 +0000
(08:22 +0200)
committer
GitHub
<noreply@github.com>
Wed, 22 Sep 2021 06:22:18 +0000
(23:22 -0700)
src/coreclr/gc/gc.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/gc/gc.cpp
b/src/coreclr/gc/gc.cpp
index
f018ec4
..
5fcc273
100644
(file)
--- a/
src/coreclr/gc/gc.cpp
+++ b/
src/coreclr/gc/gc.cpp
@@
-20703,14
+20703,14
@@
void gc_heap::gc1()
#endif //FEATURE_LOH_COMPACTION
decommit_ephemeral_segment_pages();
-#ifdef USE_REGIONS
- distribute_free_regions();
-#endif //USE_REGIONS
-
fire_pevents();
if (!(settings.concurrent))
{
+#ifdef USE_REGIONS
+ distribute_free_regions();
+#endif //USE_REGIONS
+
rearrange_uoh_segments();
update_end_ngc_time();
update_end_gc_time_per_heap();