summaryrefslogtreecommitdiff
path: root/src/gc/gcinterface.h
diff options
context:
space:
mode:
authorSean Gillespie <sean@swgillespie.me>2017-03-22 10:25:08 -0700
committerGitHub <noreply@github.com>2017-03-22 10:25:08 -0700
commit992d37064fa76ea7633734607381545e228806a5 (patch)
tree4b7cf456449feb58ee126fe4a065bb8f2ad54afb /src/gc/gcinterface.h
parentc2ba64de40e5e28c56b9734521c5f6ead20bdea9 (diff)
downloadcoreclr-992d37064fa76ea7633734607381545e228806a5.tar.gz
coreclr-992d37064fa76ea7633734607381545e228806a5.tar.bz2
coreclr-992d37064fa76ea7633734607381545e228806a5.zip
Fix an issue where GCStress allocated objects using the Gen 0 alloc context (#10322)
* Fix an issue where GCStress allocated objects using the Gen 0 alloc context * Remove a GCStress MaybeTrigger on LOH allocations that attempted to use the gen 0 alloc context
Diffstat (limited to 'src/gc/gcinterface.h')
-rw-r--r--src/gc/gcinterface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gc/gcinterface.h b/src/gc/gcinterface.h
index c463ba7aac..f67aef711a 100644
--- a/src/gc/gcinterface.h
+++ b/src/gc/gcinterface.h
@@ -696,8 +696,9 @@ public:
===========================================================================
*/
- // Returns TRUE if GC actually happens, otherwise FALSE
- virtual BOOL StressHeap(gc_alloc_context* acontext = 0) = 0;
+ // Returns TRUE if GC actually happens, otherwise FALSE. The passed alloc context
+ // must not be null.
+ virtual BOOL StressHeap(gc_alloc_context* acontext) = 0;
/*
===========================================================================