hotspot/src/share/vm/memory/generation.hpp
changeset 27903 14c6e2f23fa0
parent 27899 17754211a7ab
child 27904 d606512952cc
equal deleted inserted replaced
27902:fe89161ff160 27903:14c6e2f23fa0
   227   /* Returns "TRUE" iff "p" points into the reserved area of the generation. */
   227   /* Returns "TRUE" iff "p" points into the reserved area of the generation. */
   228   bool is_in_reserved(const void* p) const {
   228   bool is_in_reserved(const void* p) const {
   229     return _reserved.contains(p);
   229     return _reserved.contains(p);
   230   }
   230   }
   231 
   231 
   232   // Check that the generation kind is DefNewGeneration or a sub
       
   233   // class of DefNewGeneration and return a DefNewGeneration*
       
   234   DefNewGeneration*  as_DefNewGeneration();
       
   235 
       
   236   // If some space in the generation contains the given "addr", return a
   232   // If some space in the generation contains the given "addr", return a
   237   // pointer to that space, else return "NULL".
   233   // pointer to that space, else return "NULL".
   238   virtual Space* space_containing(const void* addr) const;
   234   virtual Space* space_containing(const void* addr) const;
   239 
   235 
   240   // Iteration - do not use for time critical operations
   236   // Iteration - do not use for time critical operations