1 /* |
1 /* |
2 * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 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/_psPermGen.cpp.incl" |
26 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp" |
|
27 #include "gc_implementation/parallelScavenge/psMarkSweepDecorator.hpp" |
|
28 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp" |
|
29 #include "gc_implementation/parallelScavenge/psPermGen.hpp" |
|
30 #include "gc_implementation/shared/gcUtil.hpp" |
|
31 #include "gc_implementation/shared/markSweep.inline.hpp" |
|
32 #include "oops/markOop.inline.hpp" |
27 |
33 |
28 PSPermGen::PSPermGen(ReservedSpace rs, size_t alignment, |
34 PSPermGen::PSPermGen(ReservedSpace rs, size_t alignment, |
29 size_t initial_size, size_t min_size, size_t max_size, |
35 size_t initial_size, size_t min_size, size_t max_size, |
30 const char* gen_name, int level) : |
36 const char* gen_name, int level) : |
31 PSOldGen(rs, alignment, initial_size, min_size, max_size, gen_name, level), |
37 PSOldGen(rs, alignment, initial_size, min_size, max_size, gen_name, level), |