src/share/vm/services/memoryService.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2006, 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) 2003, 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/_memoryService.cpp.incl" GrowableArray<MemoryPool*>* MemoryService::_pools_list = new (ResourceObj::C_HEAP) GrowableArray<MemoryPool*>(init_pools_list_size, true); GrowableArray<MemoryManager*>* MemoryService::_managers_list = new (ResourceObj::C_HEAP) GrowableArray<MemoryManager*>(init_managers_list_size, true); --- 20,63 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "classfile/systemDictionary.hpp" ! #include "classfile/vmSymbols.hpp" ! #include "gc_implementation/shared/mutableSpace.hpp" ! #include "memory/collectorPolicy.hpp" ! #include "memory/defNewGeneration.hpp" ! #include "memory/genCollectedHeap.hpp" ! #include "memory/generation.hpp" ! #include "memory/generationSpec.hpp" ! #include "memory/heap.hpp" ! #include "memory/memRegion.hpp" ! #include "memory/permGen.hpp" ! #include "memory/tenuredGeneration.hpp" ! #include "oops/oop.inline.hpp" ! #include "runtime/javaCalls.hpp" ! #include "services/classLoadingService.hpp" ! #include "services/lowMemoryDetector.hpp" ! #include "services/management.hpp" ! #include "services/memoryManager.hpp" ! #include "services/memoryPool.hpp" ! #include "services/memoryService.hpp" ! #include "utilities/growableArray.hpp" ! #ifndef SERIALGC ! #include "gc_implementation/concurrentMarkSweep/cmsPermGen.hpp" ! #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp" ! #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" ! #include "gc_implementation/parNew/parNewGeneration.hpp" ! #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp" ! #include "gc_implementation/parallelScavenge/psOldGen.hpp" ! #include "gc_implementation/parallelScavenge/psPermGen.hpp" ! #include "gc_implementation/parallelScavenge/psYoungGen.hpp" ! #include "services/g1MemoryPool.hpp" ! #include "services/psMemoryPool.hpp" ! #endif GrowableArray<MemoryPool*>* MemoryService::_pools_list = new (ResourceObj::C_HEAP) GrowableArray<MemoryPool*>(init_pools_list_size, true); GrowableArray<MemoryManager*>* MemoryService::_managers_list = new (ResourceObj::C_HEAP) GrowableArray<MemoryManager*>(init_managers_list_size, true);