Merge pull request #4381 from BrzVlad/feature-generational-hash
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 28 Feb 2017 12:30:18 +0000 (14:30 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Feb 2017 12:30:18 +0000 (14:30 +0200)
[sgen] Generational MonoGHashTable

1  2 
mono/metadata/metadata.c
mono/metadata/reflection.c
mono/metadata/sgen-mono.c
mono/metadata/threadpool-io.c
mono/mini/debugger-agent.c

Simple merge
Simple merge
Simple merge
index 618d995dceb7db96eccc7cccbdc98e1852f4cd56,c5429ffeef16c3faeb4a69b9e54a0001477eaaf5..4f4fa7b1559c202ec6d0ef11435e43504759831c
@@@ -325,15 -319,11 +325,15 @@@ selector_thread (gpointer data
                return 0;
        }
  
-       states = mono_g_hash_table_new_type (g_direct_hash, g_direct_equal, MONO_HASH_VALUE_GC, MONO_ROOT_SOURCE_THREAD_POOL, "i/o thread pool states table");
+       states = mono_g_hash_table_new_type (g_direct_hash, NULL, MONO_HASH_VALUE_GC, MONO_ROOT_SOURCE_THREAD_POOL, "i/o thread pool states table");
  
 -      for (;;) {
 +      while (!mono_runtime_is_shutting_down ()) {
                gint i, j;
                gint res;
 +              gboolean interrupted = FALSE;
 +
 +              if (mono_thread_interruption_checkpoint ())
 +                      continue;
  
                mono_coop_mutex_lock (&threadpool_io->updates_lock);
  
Simple merge