src/share/vm/memory/generation.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,31 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! # include "incls/_precompiled.incl" ! # include "incls/_generation.cpp.incl" Generation::Generation(ReservedSpace rs, size_t initial_size, int level) : _level(level), _ref_processor(NULL) { if (!_virtual_space.initialize(rs, initial_size)) { --- 20,47 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "gc_implementation/shared/spaceDecorator.hpp" ! #include "gc_interface/collectedHeap.inline.hpp" ! #include "memory/allocation.inline.hpp" ! #include "memory/blockOffsetTable.inline.hpp" ! #include "memory/cardTableRS.hpp" ! #include "memory/gcLocker.inline.hpp" ! #include "memory/genCollectedHeap.hpp" ! #include "memory/genMarkSweep.hpp" ! #include "memory/genOopClosures.hpp" ! #include "memory/genOopClosures.inline.hpp" ! #include "memory/generation.hpp" ! #include "memory/generation.inline.hpp" ! #include "memory/space.inline.hpp" ! #include "oops/oop.inline.hpp" ! #include "runtime/java.hpp" ! #include "utilities/copy.hpp" ! #include "utilities/events.hpp" Generation::Generation(ReservedSpace rs, size_t initial_size, int level) : _level(level), _ref_processor(NULL) { if (!_virtual_space.initialize(rs, initial_size)) {