hotspot/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp
changeset 7397 5b173b4ca846
parent 5547 f4b087cbb361
child 9935 51267b5e1a3d
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    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
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_HPP
       
    26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_HPP
       
    27 
       
    28 #include "gc_implementation/parallelScavenge/objectStartArray.hpp"
       
    29 #include "gc_implementation/parallelScavenge/psGCAdaptivePolicyCounters.hpp"
       
    30 #include "gc_implementation/parallelScavenge/psOldGen.hpp"
       
    31 #include "gc_implementation/parallelScavenge/psPermGen.hpp"
       
    32 #include "gc_implementation/parallelScavenge/psYoungGen.hpp"
       
    33 #include "gc_implementation/shared/gcPolicyCounters.hpp"
       
    34 #include "gc_interface/collectedHeap.inline.hpp"
       
    35 #include "utilities/ostream.hpp"
    24 
    36 
    25 class AdjoiningGenerations;
    37 class AdjoiningGenerations;
    26 class GCTaskManager;
    38 class GCTaskManager;
    27 class PSAdaptiveSizePolicy;
    39 class PSAdaptiveSizePolicy;
    28 class GenerationSizer;
    40 class GenerationSizer;
   261 {
   273 {
   262   assert(is_power_of_2((intptr_t)val), "must be a power of 2");
   274   assert(is_power_of_2((intptr_t)val), "must be a power of 2");
   263   var = round_to(val, intra_heap_alignment());
   275   var = round_to(val, intra_heap_alignment());
   264   return var;
   276   return var;
   265 }
   277 }
       
   278 
       
   279 #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PARALLELSCAVENGEHEAP_HPP