hotspot/src/share/vm/memory/generation.cpp
changeset 7397 5b173b4ca846
parent 6985 e9364ec299ac
child 8688 493d12ccc6db
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 # include "incls/_precompiled.incl"
    25 #include "precompiled.hpp"
    26 # include "incls/_generation.cpp.incl"
    26 #include "gc_implementation/shared/spaceDecorator.hpp"
       
    27 #include "gc_interface/collectedHeap.inline.hpp"
       
    28 #include "memory/allocation.inline.hpp"
       
    29 #include "memory/blockOffsetTable.inline.hpp"
       
    30 #include "memory/cardTableRS.hpp"
       
    31 #include "memory/gcLocker.inline.hpp"
       
    32 #include "memory/genCollectedHeap.hpp"
       
    33 #include "memory/genMarkSweep.hpp"
       
    34 #include "memory/genOopClosures.hpp"
       
    35 #include "memory/genOopClosures.inline.hpp"
       
    36 #include "memory/generation.hpp"
       
    37 #include "memory/generation.inline.hpp"
       
    38 #include "memory/space.inline.hpp"
       
    39 #include "oops/oop.inline.hpp"
       
    40 #include "runtime/java.hpp"
       
    41 #include "utilities/copy.hpp"
       
    42 #include "utilities/events.hpp"
    27 
    43 
    28 Generation::Generation(ReservedSpace rs, size_t initial_size, int level) :
    44 Generation::Generation(ReservedSpace rs, size_t initial_size, int level) :
    29   _level(level),
    45   _level(level),
    30   _ref_processor(NULL) {
    46   _ref_processor(NULL) {
    31   if (!_virtual_space.initialize(rs, initial_size)) {
    47   if (!_virtual_space.initialize(rs, initial_size)) {