summaryrefslogtreecommitdiff
path: root/src/gc/gcpriv.h
diff options
context:
space:
mode:
authorMaoni0 <maonis@microsoft.com>2017-03-10 11:39:09 -0800
committerMaoni0 <maonis@microsoft.com>2017-03-10 11:39:09 -0800
commit4627704051a81c65d81771d7e776b676b8a2d44f (patch)
tree2e7b51c99ab01dd29b27b9bbbfb19c8b4cd8e073 /src/gc/gcpriv.h
parentcbe0f7d54f6e56611a64291202976d74e700f0d5 (diff)
downloadcoreclr-4627704051a81c65d81771d7e776b676b8a2d44f.tar.gz
coreclr-4627704051a81c65d81771d7e776b676b8a2d44f.tar.bz2
coreclr-4627704051a81c65d81771d7e776b676b8a2d44f.zip
Porting desktop changes to coreclr. This fixes the following:
1) https://github.com/dotnet/coreclr/issues/6809 2) when we do a minimal GC, we need to maintain the states correctly (sync up tables and clear bricks for the portion that we don't need in a normal GC but do need in minimal GC)
Diffstat (limited to 'src/gc/gcpriv.h')
-rw-r--r--src/gc/gcpriv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gc/gcpriv.h b/src/gc/gcpriv.h
index 1f13ec12f8..d06902ca51 100644
--- a/src/gc/gcpriv.h
+++ b/src/gc/gcpriv.h
@@ -1395,6 +1395,9 @@ protected:
void thread_no_gc_loh_segments();
PER_HEAP
+ void check_and_set_no_gc_oom();
+
+ PER_HEAP
void allocate_for_no_gc_after_gc();
PER_HEAP
@@ -3352,6 +3355,9 @@ protected:
size_t loh_allocation_no_gc;
PER_HEAP
+ bool no_gc_oom_p;
+
+ PER_HEAP
heap_segment* saved_loh_segment_no_gc;
PER_HEAP_ISOLATED