< prev index next >

src/hotspot/share/gc/shared/generation.cpp

Print this page

        

@@ -66,16 +66,10 @@
     return gch->young_gen_spec()->init_size();
   }
   return gch->old_gen_spec()->init_size();
 }
 
-// This is for CMS. It returns stable monotonic used space size.
-// Remove this when CMS is removed.
-size_t Generation::used_stable() const {
-  return used();
-}
-
 size_t Generation::max_capacity() const {
   return reserved().byte_size();
 }
 
 // By default we get a single threaded default reference processor;

@@ -182,11 +176,11 @@
     return gch->handle_failed_promotion(this, obj, obj_size);
   }
 }
 
 oop Generation::par_promote(int thread_num,
-                            oop obj, markWord m, size_t word_sz) {
+                            oop obj, markOop m, size_t word_sz) {
   // Could do a bad general impl here that gets a lock.  But no.
   ShouldNotCallThis();
   return NULL;
 }
 
< prev index next >