diff options
author | Scott Ferguson <scott.ferguson@unity3d.com> | 2020-01-31 22:24:57 +0300 |
---|---|---|
committer | Scott Ferguson <scott.ferguson@unity3d.com> | 2020-01-31 22:24:57 +0300 |
commit | 0db2dc3e30130b93cf571d506fd24b48fec8653b (patch) | |
tree | 8be779e3c51eb16e8d24407e77b8547207324262 | |
parent | cdaf9382500bb962f0f94ecdbed6cef76cb22ef3 (diff) |
Default GC_retry_signals=TRUE alwaysenable-gc-retry-signals
We saw GC lockups because of lost signals on Android. Any platform
could lose signals, so we'll be conserative and always retry.
-rw-r--r-- | pthread_stop_world.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c index 3349b2e5..9c75f189 100644 --- a/pthread_stop_world.c +++ b/pthread_stop_world.c @@ -128,7 +128,8 @@ STATIC volatile AO_t GC_world_is_stopped = FALSE; || defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) STATIC GC_bool GC_retry_signals = TRUE; #else - STATIC GC_bool GC_retry_signals = FALSE; + // Unity: Always enable retry signals, since any platform could lose signals + STATIC GC_bool GC_retry_signals = TRUE; #endif /* |