Add gcprofile to PMC garbage collector and compute the size of allocated obj instead...
[IRC.git] / Robust / src / Runtime / bamboo / multicoreruntime.c
index defc97092dec9e0e4a7f94168091fa5a17840875..9b0db4319972004809d8fc0281c5b131989cba80 100644 (file)
@@ -413,10 +413,6 @@ void * allocate_new(void * ptr,
   v->lockcount = 0;
 #endif
   initlock(v);
-#ifdef GC_PROFILE
-  extern unsigned int gc_num_obj;
-  gc_num_obj++;
-#endif
   return v;
 }
 
@@ -438,10 +434,6 @@ struct ArrayObject * allocate_newarray(void * ptr,
   }
   v->___length___=length;
   initlock((struct ___Object___ *)v);
-#ifdef GC_PROFILE
-  extern unsigned int gc_num_obj;
-  gc_num_obj++;
-#endif
   return v;
 }