hotspot/src/share/vm/memory/generation.cpp
changeset 24424 2658d7834c6e
parent 24092 e274d864545a
child 25485 9c3d427eed01
equal deleted inserted replaced
24358:8528b67f6562 24424:2658d7834c6e
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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.
    40 #include "memory/space.inline.hpp"
    40 #include "memory/space.inline.hpp"
    41 #include "oops/oop.inline.hpp"
    41 #include "oops/oop.inline.hpp"
    42 #include "runtime/java.hpp"
    42 #include "runtime/java.hpp"
    43 #include "utilities/copy.hpp"
    43 #include "utilities/copy.hpp"
    44 #include "utilities/events.hpp"
    44 #include "utilities/events.hpp"
       
    45 
       
    46 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
    45 
    47 
    46 Generation::Generation(ReservedSpace rs, size_t initial_size, int level) :
    48 Generation::Generation(ReservedSpace rs, size_t initial_size, int level) :
    47   _level(level),
    49   _level(level),
    48   _ref_processor(NULL) {
    50   _ref_processor(NULL) {
    49   if (!_virtual_space.initialize(rs, initial_size)) {
    51   if (!_virtual_space.initialize(rs, initial_size)) {