Another take into reducing shutdown crashes.
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 18 Jul 2012 23:59:27 +0000 (20:59 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 18 Jul 2012 23:59:27 +0000 (20:59 -0300)
mono/tests/sgen-bridge-major-fragmentation.cs

index 920976e3e558836213c47a4c13c5bcaf0f6cd152..5fc72e67e77bb713e73fc04ff27e723f28ea1eeb 100644 (file)
@@ -53,7 +53,7 @@ class Driver {
        
 
        static void Main () {
-               const int loops = 5;
+               const int loops = 4;
                for (int i = 0; i < loops; ++i) {
                        Console.WriteLine ("CrashLoop {0}/{1}", i + 1, loops);
                        CrashMainLoop ();
@@ -61,5 +61,7 @@ class Driver {
                Console.WriteLine ("done");
                GC.Collect ();
                GC.WaitForPendingFinalizers ();
+               GC.Collect ();
+               GC.WaitForPendingFinalizers ();
        }
 }