*/
GHashTable *finalizable_objects_hash;
- /* These two are boehm only */
- /* Maps MonoObjects to a GSList of WeakTrackResurrection GCHandles pointing to them */
- GHashTable *track_resurrection_objects_hash;
- /* Maps WeakTrackResurrection GCHandles to the MonoObjects they point to */
- GHashTable *track_resurrection_handles_hash;
-
/* Protects the three hashes above */
CRITICAL_SECTION finalizable_objects_hash_lock;
/* Used when accessing 'domain_assemblies' */
domain->jit_info_table = jit_info_table_new (domain);
domain->jit_info_free_queue = NULL;
domain->finalizable_objects_hash = g_hash_table_new (mono_aligned_addr_hash, NULL);
- domain->track_resurrection_handles_hash = g_hash_table_new (mono_aligned_addr_hash, NULL);
domain->ftnptrs_hash = g_hash_table_new (mono_aligned_addr_hash, NULL);
InitializeCriticalSection (&domain->lock);
g_hash_table_destroy (domain->finalizable_objects_hash);
domain->finalizable_objects_hash = NULL;
- if (domain->track_resurrection_objects_hash) {
- g_hash_table_foreach (domain->track_resurrection_objects_hash, free_slist, NULL);
- g_hash_table_destroy (domain->track_resurrection_objects_hash);
- }
- if (domain->track_resurrection_handles_hash)
- g_hash_table_destroy (domain->track_resurrection_handles_hash);
if (domain->method_rgctx_hash) {
g_hash_table_destroy (domain->method_rgctx_hash);
domain->method_rgctx_hash = NULL;