summaryrefslogtreecommitdiff
path: root/src/gc/gcimpl.h
diff options
context:
space:
mode:
authorMaoni Stephens <Maoni0@users.noreply.github.com>2017-03-23 18:24:55 -0700
committerGitHub <noreply@github.com>2017-03-23 18:24:55 -0700
commitc5bfdd98204d7cb265f633534d593ca9c008ca6b (patch)
tree47ae9ed932bedbf4e0008de92ffd223d782f03a6 /src/gc/gcimpl.h
parent799473b93db0405bee78d5bbe2aadb23313efb01 (diff)
downloadcoreclr-c5bfdd98204d7cb265f633534d593ca9c008ca6b.tar.gz
coreclr-c5bfdd98204d7cb265f633534d593ca9c008ca6b.tar.bz2
coreclr-c5bfdd98204d7cb265f633534d593ca9c008ca6b.zip
GetContainingObject is inconsistent with the lowest address it chooses. (#10438)
For profiling purpose it only cares about condemned ranges; for byref validation it cares about any object on the heap.
Diffstat (limited to 'src/gc/gcimpl.h')
-rw-r--r--src/gc/gcimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/gcimpl.h b/src/gc/gcimpl.h
index 7b4b2eb592..e0008b97be 100644
--- a/src/gc/gcimpl.h
+++ b/src/gc/gcimpl.h
@@ -108,7 +108,7 @@ public:
void FixAllocContext (gc_alloc_context* acontext,
BOOL lockp, void* arg, void *heap);
- Object* GetContainingObject(void *pInteriorPtr);
+ Object* GetContainingObject(void *pInteriorPtr, bool fCollectedGenOnly);
#ifdef MULTIPLE_HEAPS
static void AssignHeap (alloc_context* acontext);