diff options
author | Brian Robbins <brianrob@microsoft.com> | 2018-02-21 21:59:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 21:59:17 -0800 |
commit | 9f08404d97b0c1ee0d1bcabb8046e3efb49163c0 (patch) | |
tree | 9dbec81b583fe216a9a8c18f7f6ca78050ce1ff7 /src/vm | |
parent | eae9c75b53bb88dfe0914b247a8d379621de61af (diff) | |
download | coreclr-9f08404d97b0c1ee0d1bcabb8046e3efb49163c0.tar.gz coreclr-9f08404d97b0c1ee0d1bcabb8046e3efb49163c0.tar.bz2 coreclr-9f08404d97b0c1ee0d1bcabb8046e3efb49163c0.zip |
Fix EventPipe Test Failures Under GCStress (#16494)
* Disable inducedgc test when GCStress is enabled.
* Suppress host contract violation in EventPipe::WalkManagedStackForThread.
Diffstat (limited to 'src/vm')
-rw-r--r-- | src/vm/eventpipe.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vm/eventpipe.cpp b/src/vm/eventpipe.cpp index 026a775f47..e413713053 100644 --- a/src/vm/eventpipe.cpp +++ b/src/vm/eventpipe.cpp @@ -708,6 +708,10 @@ bool EventPipe::WalkManagedStackForThread(Thread *pThread, StackContents &stackC } CONTRACTL_END; + // Calling into StackWalkFrames in preemptive mode violates the host contract, + // but this contract is not used on CoreCLR. + CONTRACT_VIOLATION( HostViolation ); + stackContents.Reset(); StackWalkAction swaRet = pThread->StackWalkFrames( |