summaryrefslogtreecommitdiff
path: root/src/gc/gc.cpp
diff options
context:
space:
mode:
authorSuchiman <robinsue@live.de>2019-06-11 21:38:23 +0200
committerJan Kotas <jkotas@microsoft.com>2019-06-11 20:26:23 -0700
commitc3ac0c460382519c0344f3e87626846ab6fd96a1 (patch)
tree8d4ae6628516ae0d2dbfda00941f4a0aa447c368 /src/gc/gc.cpp
parent2052c9c1d7be368ed687a8958b9f98a7930e3698 (diff)
downloadcoreclr-c3ac0c460382519c0344f3e87626846ab6fd96a1.tar.gz
coreclr-c3ac0c460382519c0344f3e87626846ab6fd96a1.tar.bz2
coreclr-c3ac0c460382519c0344f3e87626846ab6fd96a1.zip
CoreRT change
Diffstat (limited to 'src/gc/gc.cpp')
-rw-r--r--src/gc/gc.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp
index 68a0dcd5c3..820e66db67 100644
--- a/src/gc/gc.cpp
+++ b/src/gc/gc.cpp
@@ -31817,20 +31817,16 @@ void gc_heap::background_ephemeral_sweep()
if (i >= 1)
{
thread_gap (plug_end, end - plug_end, current_gen);
- fix_brick_to_highest (plug_end, end);
}
else
{
heap_segment_allocated (ephemeral_heap_segment) = plug_end;
// the following line is temporary.
heap_segment_saved_bg_allocated (ephemeral_heap_segment) = plug_end;
-#ifdef VERIFY_HEAP
- if (GCConfig::GetHeapVerifyLevel() & GCConfig::HEAPVERIFY_GC)
- {
- make_unused_array (plug_end, (end - plug_end));
- }
-#endif //VERIFY_HEAP
+ make_unused_array (plug_end, (end - plug_end));
}
+
+ fix_brick_to_highest (plug_end, end);
}
dd_fragmentation (dynamic_data_of (i)) =