projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83643fb
)
Fix GC Hole by using SetAt on the PTRARRAY for the Assembly objects
author
John Salem
<josalem@microsoft.com>
Wed, 20 Feb 2019 20:22:24 +0000
(12:22 -0800)
committer
John Salem
<josalem@microsoft.com>
Wed, 20 Feb 2019 20:22:24 +0000
(12:22 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
a63e6487936b54dd707636d8b8210dfd956f37d7
src/coreclr/src/vm/debugdebugger.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/debugdebugger.cpp
b/src/coreclr/src/vm/debugdebugger.cpp
index
a839340
..
a5cc9bc
100644
(file)
--- a/
src/coreclr/src/vm/debugdebugger.cpp
+++ b/
src/coreclr/src/vm/debugdebugger.cpp
@@
-519,8
+519,8
@@
FCIMPL4(void, DebugStackTrace::GetStackFramesInternal,
pILI4[iNumValidFrames] = data.pElements[i].dwILOffset;
// Assembly
- OBJECTREF
*pAssemblyArray = pStackFrameHelper->rgAssembly->GetDataPtr();
- p
AssemblyArray[iNumValidFrames] = pFunc->GetAssembly()->GetDomainAssembly()->GetExposedAssemblyObject(
);
+ OBJECTREF
pAssembly = pFunc->GetAssembly()->GetDomainAssembly()->GetExposedAssemblyObject();
+ p
StackFrameHelper->rgAssembly->SetAt(iNumValidFrames, pAssembly
);
if (data.fDoWeHaveAnyFramesFromForeignStackTrace)
{