Beispiel #1
0
 public static void CreateLargeObjects()
 {
     LargeGC [] lgc;
     lgc = new LargeGC[LOOP];
     for (int i = 0; i < LOOP; i++)
     {
         lgc[i] = new LargeGC();
     }
 }
Beispiel #2
0
 public SmallGC(int HasLargeObj)
 {
     if (HasLargeObj == 1)
     {
         m_pLarge = new LargeGC();
     }
     else
     {
         m_pLarge = null;
     }
 }