diff options
author | Maoni Stephens <Maoni0@users.noreply.github.com> | 2017-03-23 18:24:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 18:24:55 -0700 |
commit | c5bfdd98204d7cb265f633534d593ca9c008ca6b (patch) | |
tree | 47ae9ed932bedbf4e0008de92ffd223d782f03a6 /src/vm/stubhelpers.cpp | |
parent | 799473b93db0405bee78d5bbe2aadb23313efb01 (diff) | |
download | coreclr-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/vm/stubhelpers.cpp')
-rw-r--r-- | src/vm/stubhelpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/stubhelpers.cpp b/src/vm/stubhelpers.cpp index bf83c72ea2..0a5c143bf4 100644 --- a/src/vm/stubhelpers.cpp +++ b/src/vm/stubhelpers.cpp @@ -158,7 +158,7 @@ void StubHelpers::ProcessByrefValidationList() { entry = s_ByrefValidationEntries[i]; - Object *pObjUNSAFE = GCHeapUtilities::GetGCHeap()->GetContainingObject(entry.pByref); + Object *pObjUNSAFE = GCHeapUtilities::GetGCHeap()->GetContainingObject(entry.pByref, false); ValidateObjectInternal(pObjUNSAFE, TRUE); } } |