summaryrefslogtreecommitdiff
path: root/src/gc/gcpriv.h
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-07-12 09:44:15 +0200
committerGitHub <noreply@github.com>2016-07-12 09:44:15 +0200
commit3a89fdacae800110064aaf7aa0c72456b97dcd42 (patch)
tree53c275db4d683c440fb14558147171dfe6e60892 /src/gc/gcpriv.h
parent0804d53c08804928e3b92e3c50b284453dab4944 (diff)
downloadcoreclr-3a89fdacae800110064aaf7aa0c72456b97dcd42.tar.gz
coreclr-3a89fdacae800110064aaf7aa0c72456b97dcd42.tar.bz2
coreclr-3a89fdacae800110064aaf7aa0c72456b97dcd42.zip
Fix exceptions in GC wave 2 (#6220)
I've removed blocks with PAL_TRY that were under CATCH_GC. I also had to fix contract problem in GCToEEInterface::GcStartWork that was marked as THROWS due to StubHelpers::ProcessByrefValidationList being marked as THROWS, but the StubHelpers::ProcessByrefValidationList in fact doesn't throw since it has body wrapped in EX_TRY / EX_CATCH. This also fixes a problem that started to appear after my previous exceptions fix change.
Diffstat (limited to 'src/gc/gcpriv.h')
-rw-r--r--src/gc/gcpriv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gc/gcpriv.h b/src/gc/gcpriv.h
index a4305c7ac1..42ca64ce76 100644
--- a/src/gc/gcpriv.h
+++ b/src/gc/gcpriv.h
@@ -128,8 +128,6 @@ inline void FATAL_GC_ERROR()
//#define TRACE_GC //debug trace gc operation
//#define SIMPLE_DPRINTF
-//#define CATCH_GC //catches exception during GC
-
//#define TIME_GC //time allocation and garbage collection
//#define TIME_WRITE_WATCH //time GetWriteWatch and ResetWriteWatch calls
//#define COUNT_CYCLES //Use cycle counter for timing