Mercurial > hg > truffle
comparison src/share/vm/services/memoryService.cpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | f6f3eef8a521 |
children | 3582bf76420e |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 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/_memoryService.cpp.incl" | 26 #include "classfile/systemDictionary.hpp" |
27 #include "classfile/vmSymbols.hpp" | |
28 #include "gc_implementation/shared/mutableSpace.hpp" | |
29 #include "memory/collectorPolicy.hpp" | |
30 #include "memory/defNewGeneration.hpp" | |
31 #include "memory/genCollectedHeap.hpp" | |
32 #include "memory/generation.hpp" | |
33 #include "memory/generationSpec.hpp" | |
34 #include "memory/heap.hpp" | |
35 #include "memory/memRegion.hpp" | |
36 #include "memory/permGen.hpp" | |
37 #include "memory/tenuredGeneration.hpp" | |
38 #include "oops/oop.inline.hpp" | |
39 #include "runtime/javaCalls.hpp" | |
40 #include "services/classLoadingService.hpp" | |
41 #include "services/lowMemoryDetector.hpp" | |
42 #include "services/management.hpp" | |
43 #include "services/memoryManager.hpp" | |
44 #include "services/memoryPool.hpp" | |
45 #include "services/memoryService.hpp" | |
46 #include "utilities/growableArray.hpp" | |
47 #ifndef SERIALGC | |
48 #include "gc_implementation/concurrentMarkSweep/cmsPermGen.hpp" | |
49 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp" | |
50 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" | |
51 #include "gc_implementation/parNew/parNewGeneration.hpp" | |
52 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp" | |
53 #include "gc_implementation/parallelScavenge/psOldGen.hpp" | |
54 #include "gc_implementation/parallelScavenge/psPermGen.hpp" | |
55 #include "gc_implementation/parallelScavenge/psYoungGen.hpp" | |
56 #include "services/g1MemoryPool.hpp" | |
57 #include "services/psMemoryPool.hpp" | |
58 #endif | |
27 | 59 |
28 GrowableArray<MemoryPool*>* MemoryService::_pools_list = | 60 GrowableArray<MemoryPool*>* MemoryService::_pools_list = |
29 new (ResourceObj::C_HEAP) GrowableArray<MemoryPool*>(init_pools_list_size, true); | 61 new (ResourceObj::C_HEAP) GrowableArray<MemoryPool*>(init_pools_list_size, true); |
30 GrowableArray<MemoryManager*>* MemoryService::_managers_list = | 62 GrowableArray<MemoryManager*>* MemoryService::_managers_list = |
31 new (ResourceObj::C_HEAP) GrowableArray<MemoryManager*>(init_managers_list_size, true); | 63 new (ResourceObj::C_HEAP) GrowableArray<MemoryManager*>(init_managers_list_size, true); |