< prev index next >

src/share/vm/memory/defNewGeneration.hpp

Print this page
rev 7420 : [mq]: removeOneContigSpaceGeneration


  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  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_MEMORY_DEFNEWGENERATION_HPP
  26 #define SHARE_VM_MEMORY_DEFNEWGENERATION_HPP
  27 
  28 #include "gc_implementation/shared/ageTable.hpp"
  29 #include "gc_implementation/shared/cSpaceCounters.hpp"
  30 #include "gc_implementation/shared/generationCounters.hpp"
  31 #include "gc_implementation/shared/copyFailedInfo.hpp"
  32 #include "memory/generation.inline.hpp"
  33 #include "utilities/stack.hpp"
  34 
  35 class ContiguousSpace;
  36 class ScanClosure;
  37 class STWGCTimer;
  38 
  39 // DefNewGeneration is a young generation containing eden, from- and
  40 // to-space.
  41 
  42 class DefNewGeneration: public Generation {
  43   friend class VMStructs;
  44 
  45 protected:
  46   Generation* _next_gen;
  47   uint        _tenuring_threshold;   // Tenuring threshold for next collection.
  48   ageTable    _age_table;
  49   // Size of object to pretenure in words; command line provides bytes
  50   size_t      _pretenure_size_threshold_words;
  51 
  52   ageTable*   age_table() { return &_age_table; }




  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  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_MEMORY_DEFNEWGENERATION_HPP
  26 #define SHARE_VM_MEMORY_DEFNEWGENERATION_HPP
  27 
  28 #include "gc_implementation/shared/ageTable.hpp"
  29 #include "gc_implementation/shared/cSpaceCounters.hpp"
  30 #include "gc_implementation/shared/generationCounters.hpp"
  31 #include "gc_implementation/shared/copyFailedInfo.hpp"

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


< prev index next >