summaryrefslogtreecommitdiff
path: root/src/vm/exceptionhandling.h
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-02-24 11:51:43 +0100
committerJan Vorlicek <janvorli@microsoft.com>2016-02-26 02:10:13 +0100
commit12f1fcdbec8cdc862953f90b4b420d3e4e74657b (patch)
treed29855d59e86a760741738d1b0ee1f850c3c7b96 /src/vm/exceptionhandling.h
parente9fa953a295d16b7e00e9192b4973743398358e9 (diff)
downloadcoreclr-12f1fcdbec8cdc862953f90b4b420d3e4e74657b.tar.gz
coreclr-12f1fcdbec8cdc862953f90b4b420d3e4e74657b.tar.bz2
coreclr-12f1fcdbec8cdc862953f90b4b420d3e4e74657b.zip
Fix stack walker on Unix
This change fixes the stack walker on Unix to properly account for the cases when funclet frames were reclaimed due to native frames unwinding and so they are not on the stack anymore. The stack walker needs to know that to properly skip reporting GC references for the parent frame of the funclet. While there was already code attempting to do that, it was incorrectly skipping some exception trackers and not skipping the current tracker in case the catch handler was not called yet. This problem was discovered while running stress tests with GCStress 3.
Diffstat (limited to 'src/vm/exceptionhandling.h')
-rw-r--r--src/vm/exceptionhandling.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/exceptionhandling.h b/src/vm/exceptionhandling.h
index 9acebc2767..d5dd4807ce 100644
--- a/src/vm/exceptionhandling.h
+++ b/src/vm/exceptionhandling.h
@@ -565,7 +565,7 @@ public:
return m_EnclosingClauseInfoOfCollapsedTracker.GetEnclosingClauseCallerSP();
}
-#ifndef FEATURE_PAL
+#ifndef FEATURE_PAL
private:
EHWatsonBucketTracker m_WatsonBucketTracker;
public: