diff src/share/vm/memory/space.cpp @ 20266:6c523f5d5440

8038412: Move object_iterate_careful down from Space to ContigousSpace and CFLSpace Summary: Only declare the functions where they are actually needed. Reviewed-by: tschatzl, stefank
author mgerdin
date Wed, 12 Mar 2014 17:13:48 +0100
parents 5255b195f828
children ff1e37e7eb83
line wrap: on
line diff
--- a/src/share/vm/memory/space.cpp	Wed Mar 12 15:22:45 2014 +0100
+++ b/src/share/vm/memory/space.cpp	Wed Mar 12 17:13:48 2014 +0100
@@ -551,17 +551,6 @@
   object_iterate(&blk2);
 }
 
-HeapWord* Space::object_iterate_careful(ObjectClosureCareful* cl) {
-  guarantee(false, "NYI");
-  return bottom();
-}
-
-HeapWord* Space::object_iterate_careful_m(MemRegion mr,
-                                          ObjectClosureCareful* cl) {
-  guarantee(false, "NYI");
-  return bottom();
-}
-
 bool Space::obj_is_alive(const HeapWord* p) const {
   assert (block_is_obj(p), "The address should point to an object");
   return true;