Set the name of some runtime threads.
[mono.git] / mono / metadata / gc.c
index 10f0976175b29712ae58367b838fcd04aead2b80..9d708638957e00180dcca64b4b40f6d33cfc8e3d 100644 (file)
@@ -1108,6 +1108,7 @@ mono_gc_init (void)
 #endif
 
        gc_thread = mono_thread_create_internal (mono_domain_get (), finalizer_thread, NULL, FALSE);
+       ves_icall_System_Threading_Thread_SetName_internal (gc_thread, mono_string_new (mono_domain_get (), "Finalizer"));
 }
 
 void