Merge pull request #3239 from xmcclure/default-tarjan
authorAndi McClure <andi.mcclure@xamarin.com>
Wed, 6 Jul 2016 21:26:45 +0000 (17:26 -0400)
committerGitHub <noreply@github.com>
Wed, 6 Jul 2016 21:26:45 +0000 (17:26 -0400)
Switch Android GC bridge default from new-bridge to tarjan-bridge

mono/metadata/sgen-bridge.c

index 303f8ea837210f8f843a03b321da1a82bfd469dc..17719009759d0ca97f2879c7baac6de2c61f7b47 100644 (file)
@@ -48,8 +48,9 @@ mono_gc_register_bridge_callbacks (MonoGCBridgeCallbacks *callbacks)
 
        bridge_callbacks = *callbacks;
 
+       // If callbacks are still uninitialized, initialize defaults
        if (!bridge_processor.reset_data)
-               sgen_new_bridge_init (&bridge_processor);
+               sgen_tarjan_bridge_init (&bridge_processor);
 }
 
 static gboolean