equal
deleted
inserted
replaced
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. |
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_MEMORY_GENERATION_HPP |
|
26 #define SHARE_VM_MEMORY_GENERATION_HPP |
|
27 |
|
28 #include "gc_implementation/shared/collectorCounters.hpp" |
|
29 #include "memory/allocation.hpp" |
|
30 #include "memory/memRegion.hpp" |
|
31 #include "memory/referenceProcessor.hpp" |
|
32 #include "memory/universe.hpp" |
|
33 #include "memory/watermark.hpp" |
|
34 #include "runtime/mutex.hpp" |
|
35 #include "runtime/perfData.hpp" |
|
36 #include "runtime/virtualspace.hpp" |
24 |
37 |
25 // A Generation models a heap area for similarly-aged objects. |
38 // A Generation models a heap area for similarly-aged objects. |
26 // It will contain one ore more spaces holding the actual objects. |
39 // It will contain one ore more spaces holding the actual objects. |
27 // |
40 // |
28 // The Generation class hierarchy: |
41 // The Generation class hierarchy: |
738 virtual void record_spaces_top(); |
751 virtual void record_spaces_top(); |
739 |
752 |
740 virtual void verify(bool allow_dirty); |
753 virtual void verify(bool allow_dirty); |
741 virtual void print_on(outputStream* st) const; |
754 virtual void print_on(outputStream* st) const; |
742 }; |
755 }; |
|
756 |
|
757 #endif // SHARE_VM_MEMORY_GENERATION_HPP |