diff options
author | Maoni0 <maonis@microsoft.com> | 2016-06-13 14:57:12 -0700 |
---|---|---|
committer | Maoni0 <maonis@microsoft.com> | 2016-06-14 16:14:10 -0700 |
commit | f1aeb18e104cf02439c948ab5f20cf4bc8a27b03 (patch) | |
tree | fd74626030a7786ea287374b54c9de70b66f58ca /src/gc/env/gcenv.base.h | |
parent | 8442c3e1881315d207404e1e3e99840b15fc4e9f (diff) | |
download | coreclr-f1aeb18e104cf02439c948ab5f20cf4bc8a27b03.tar.gz coreclr-f1aeb18e104cf02439c948ab5f20cf4bc8a27b03.tar.bz2 coreclr-f1aeb18e104cf02439c948ab5f20cf4bc8a27b03.zip |
My last fix of checking whether the runtime was suspended was incomplete.
I needed to check at the 3 other places. Before the software write watch
implementation, this check was in the write barrier code itself and was
doing the right thing. So I am just using the same thing (ie, IsGCThread)
to check whether the runtime is suspended.
Diffstat (limited to 'src/gc/env/gcenv.base.h')
-rw-r--r-- | src/gc/env/gcenv.base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/env/gcenv.base.h b/src/gc/env/gcenv.base.h index 88f86ce758..17a5416830 100644 --- a/src/gc/env/gcenv.base.h +++ b/src/gc/env/gcenv.base.h @@ -550,7 +550,7 @@ void LogSpewAlways(const char *fmt, ...); void StompWriteBarrierEphemeral(bool isRuntimeSuspended); void StompWriteBarrierResize(bool isRuntimeSuspended, bool bReqUpperBoundsCheck); -bool IsSuspendEEThread(); +bool IsGCThread(); class CLRConfig { |