< prev index next >

src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

Print this page

        

@@ -1301,14 +1301,10 @@
   // As above but starting from region r
   void collection_set_iterate_from(HeapRegion* r, HeapRegionClosure *blk);
 
   HeapRegion* next_compaction_region(const HeapRegion* from) const;
 
-  // A CollectedHeap will contain some number of spaces.  This finds the
-  // space containing a given address, or else returns NULL.
-  virtual Space* space_containing(const void* addr) const;
-
   // Returns the HeapRegion that contains addr. addr must not be NULL.
   template <class T>
   inline HeapRegion* heap_region_containing_raw(const T addr) const;
 
   // Returns the HeapRegion that contains addr. addr must not be NULL.
< prev index next >