Mercurial > hg > graal-compiler
comparison src/share/vm/services/memoryService.cpp @ 6197:d2a62e0f25eb
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
author | zgu |
---|---|
date | Thu, 28 Jun 2012 17:03:16 -0400 |
parents | 78542e2b5e35 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
56 #include "services/g1MemoryPool.hpp" | 56 #include "services/g1MemoryPool.hpp" |
57 #include "services/psMemoryPool.hpp" | 57 #include "services/psMemoryPool.hpp" |
58 #endif | 58 #endif |
59 | 59 |
60 GrowableArray<MemoryPool*>* MemoryService::_pools_list = | 60 GrowableArray<MemoryPool*>* MemoryService::_pools_list = |
61 new (ResourceObj::C_HEAP) GrowableArray<MemoryPool*>(init_pools_list_size, true); | 61 new (ResourceObj::C_HEAP, mtInternal) GrowableArray<MemoryPool*>(init_pools_list_size, true); |
62 GrowableArray<MemoryManager*>* MemoryService::_managers_list = | 62 GrowableArray<MemoryManager*>* MemoryService::_managers_list = |
63 new (ResourceObj::C_HEAP) GrowableArray<MemoryManager*>(init_managers_list_size, true); | 63 new (ResourceObj::C_HEAP, mtInternal) GrowableArray<MemoryManager*>(init_managers_list_size, true); |
64 | 64 |
65 GCMemoryManager* MemoryService::_minor_gc_manager = NULL; | 65 GCMemoryManager* MemoryService::_minor_gc_manager = NULL; |
66 GCMemoryManager* MemoryService::_major_gc_manager = NULL; | 66 GCMemoryManager* MemoryService::_major_gc_manager = NULL; |
67 MemoryPool* MemoryService::_code_heap_pool = NULL; | 67 MemoryPool* MemoryService::_code_heap_pool = NULL; |
68 | 68 |