[runtime] Initialize the class name cache using double checked locking.
[mono.git] / mono / sgen / sgen-workers.c
index 613f332cca4398e68c9b3b45b7ae5a4c8da8f14f..b26234298473a093bf81712b97b50e6fa6515506 100644 (file)
@@ -227,7 +227,7 @@ workers_get_work (WorkerData *data)
 }
 
 static void
-concurrent_enqueue_check (char *obj)
+concurrent_enqueue_check (GCObject *obj)
 {
        g_assert (sgen_concurrent_collection_in_progress ());
        g_assert (!sgen_ptr_in_nursery (obj));