< prev index next >

src/hotspot/share/services/memoryManager.hpp

erik_version

9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or                                                             
10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License                                                             
11  * version 2 for more details (a copy is included in the LICENSE file that                                                           
12  * accompanied this code).                                                                                                           
13  *                                                                                                                                   
14  * You should have received a copy of the GNU General Public License version                                                         
15  * 2 along with this work; if not, write to the Free Software Foundation,                                                            
16  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.                                                                     
17  *                                                                                                                                   
18  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA                                                           
19  * or visit www.oracle.com if you need additional information or have any                                                            
20  * questions.                                                                                                                        
21  *                                                                                                                                   
22  */                                                                                                                                  
23 
24 #ifndef SHARE_VM_SERVICES_MEMORYMANAGER_HPP                                                                                          
25 #define SHARE_VM_SERVICES_MEMORYMANAGER_HPP                                                                                          
26 
27 #include "gc/shared/gcCause.hpp"                                                                                                     
28 #include "memory/allocation.hpp"                                                                                                     
                                                                                                                                     
29 #include "oops/oopsHierarchy.hpp"                                                                                                    
30 #include "runtime/handles.hpp"                                                                                                       
31 #include "runtime/timer.hpp"                                                                                                         
32 #include "services/memoryUsage.hpp"                                                                                                  
33 
34 // A memory manager is responsible for managing one or more memory pools.                                                            
35 // The garbage collector is one type of memory managers responsible                                                                  
36 // for reclaiming memory occupied by unreachable objects.  A Java virtual                                                            
37 // machine may have one or more memory managers.   It may                                                                            
38 // add or remove memory managers during execution.                                                                                   
39 // A memory pool can be managed by more than one memory managers.                                                                    
40 
41 class MemoryPool;                                                                                                                    
42 class GCMemoryManager;                                                                                                               
43 class OopClosure;                                                                                                                    
44 
45 class MemoryManager : public CHeapObj<mtInternal> {                                                                                  
46 private:                                                                                                                             
47   enum {                                                                                                                             

9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11  * version 2 for more details (a copy is included in the LICENSE file that
12  * accompanied this code).
13  *
14  * You should have received a copy of the GNU General Public License version
15  * 2 along with this work; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17  *
18  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
19  * or visit www.oracle.com if you need additional information or have any
20  * questions.
21  *
22  */
23 
24 #ifndef SHARE_VM_SERVICES_MEMORYMANAGER_HPP
25 #define SHARE_VM_SERVICES_MEMORYMANAGER_HPP
26 
27 #include "gc/shared/gcCause.hpp"
28 #include "memory/allocation.hpp"
29 #include "oops/oop.hpp"
30 #include "oops/oopsHierarchy.hpp"
31 #include "runtime/handles.hpp"
32 #include "runtime/timer.hpp"
33 #include "services/memoryUsage.hpp"
34 
35 // A memory manager is responsible for managing one or more memory pools.
36 // The garbage collector is one type of memory managers responsible
37 // for reclaiming memory occupied by unreachable objects.  A Java virtual
38 // machine may have one or more memory managers.   It may
39 // add or remove memory managers during execution.
40 // A memory pool can be managed by more than one memory managers.
41 
42 class MemoryPool;
43 class GCMemoryManager;
44 class OopClosure;
45 
46 class MemoryManager : public CHeapObj<mtInternal> {
47 private:
48   enum {
< prev index next >