diff options
Diffstat (limited to 'src/gc/gc.h')
-rw-r--r-- | src/gc/gc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gc/gc.h b/src/gc/gc.h index b7f1e956b6..7332e42885 100644 --- a/src/gc/gc.h +++ b/src/gc/gc.h @@ -140,8 +140,7 @@ class DacHeapWalker; extern "C" uint32_t* g_gc_card_table; extern "C" uint8_t* g_gc_lowest_address; extern "C" uint8_t* g_gc_highest_address; -extern "C" uint8_t* g_gc_ephemeral_low; -extern "C" uint8_t* g_gc_ephemeral_high; +extern "C" bool g_fFinalizerRunOnShutDown; namespace WKS { ::IGCHeapInternal* CreateGCHeap(); @@ -270,6 +269,11 @@ public: return mt->GetBaseSize() >= LARGE_OBJECT_SIZE; } + void SetFinalizeRunOnShutdown(bool value) + { + g_fFinalizerRunOnShutDown = value; + } + protected: public: #if defined(FEATURE_BASICFREEZE) && defined(VERIFY_HEAP) |