< prev index next >

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

Print this page




  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_GC_SERIAL_DEFNEWGENERATION_HPP
  26 #define SHARE_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 class SerialHeap;
  43 
  44 // DefNewGeneration is a young generation containing eden, from- and
  45 // to-space.
  46 
  47 class DefNewGeneration: public Generation {
  48   friend class VMStructs;
  49 
  50 protected:
  51   Generation* _old_gen;
  52   uint        _tenuring_threshold;   // Tenuring threshold for next collection.
  53   AgeTable    _age_table;
  54   // Size of object to pretenure in words; command line provides bytes
  55   size_t      _pretenure_size_threshold_words;
  56 
  57   AgeTable*   age_table() { return &_age_table; }
  58 




  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_GC_SERIAL_DEFNEWGENERATION_HPP
  26 #define SHARE_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 STWGCTimer;
  39 class CSpaceCounters;
  40 class ScanWeakRefClosure;
  41 class SerialHeap;
  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;
  55 
  56   AgeTable*   age_table() { return &_age_table; }
  57 


< prev index next >