< prev index next >

src/share/vm/gc/serial/defNewGeneration.hpp

Print this page




  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP
  26 #define SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP
  27 
  28 #include "gc/serial/cSpaceCounters.hpp"
  29 #include "gc/shared/ageTable.hpp"
  30 #include "gc/shared/copyFailedInfo.hpp"
  31 #include "gc/shared/generation.hpp"
  32 #include "gc/shared/generationCounters.hpp"
  33 #include "gc/shared/preservedMarks.hpp"

  34 #include "utilities/stack.hpp"
  35 
  36 class ContiguousSpace;
  37 class ScanClosure;
  38 class STWGCTimer;
  39 class CSpaceCounters;
  40 class ScanWeakRefClosure;
  41 
  42 // DefNewGeneration is a young generation containing eden, from- and
  43 // to-space.
  44 
  45 class DefNewGeneration: public Generation {
  46   friend class VMStructs;
  47 
  48 protected:
  49   Generation* _old_gen;
  50   uint        _tenuring_threshold;   // Tenuring threshold for next collection.
  51   AgeTable    _age_table;
  52   // Size of object to pretenure in words; command line provides bytes
  53   size_t      _pretenure_size_threshold_words;




  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP
  26 #define SHARE_VM_GC_SERIAL_DEFNEWGENERATION_HPP
  27 
  28 #include "gc/serial/cSpaceCounters.hpp"
  29 #include "gc/shared/ageTable.hpp"
  30 #include "gc/shared/copyFailedInfo.hpp"
  31 #include "gc/shared/generation.hpp"
  32 #include "gc/shared/generationCounters.hpp"
  33 #include "gc/shared/preservedMarks.hpp"
  34 #include "utilities/align.hpp"
  35 #include "utilities/stack.hpp"
  36 
  37 class ContiguousSpace;
  38 class ScanClosure;
  39 class STWGCTimer;
  40 class CSpaceCounters;
  41 class ScanWeakRefClosure;
  42 
  43 // DefNewGeneration is a young generation containing eden, from- and
  44 // to-space.
  45 
  46 class DefNewGeneration: public Generation {
  47   friend class VMStructs;
  48 
  49 protected:
  50   Generation* _old_gen;
  51   uint        _tenuring_threshold;   // Tenuring threshold for next collection.
  52   AgeTable    _age_table;
  53   // Size of object to pretenure in words; command line provides bytes
  54   size_t      _pretenure_size_threshold_words;


< prev index next >