Mercurial > hg > graal-compiler
comparison src/share/vm/services/memBaseline.hpp @ 6882:716c64bda5ba
7199092: NMT: NMT needs to deal overlapped virtual memory ranges
Summary: Enhanced virtual memory tracking to track committed regions as well as reserved regions, so NMT now can generate virtual memory map.
Reviewed-by: acorn, coleenp
author | zgu |
---|---|
date | Fri, 19 Oct 2012 21:40:07 -0400 |
parents | d2a62e0f25eb |
children | 32164d89fe9c |
comparison
equal
deleted
inserted
replaced
6879:8ebcedb7604d | 6882:716c64bda5ba |
---|---|
318 | 318 |
319 // memory records that aggregate memory usage by callsites. | 319 // memory records that aggregate memory usage by callsites. |
320 // only available when detail tracking is on. | 320 // only available when detail tracking is on. |
321 MemPointerArray* _malloc_cs; | 321 MemPointerArray* _malloc_cs; |
322 MemPointerArray* _vm_cs; | 322 MemPointerArray* _vm_cs; |
323 // virtual memory map | |
324 MemPointerArray* _vm_map; | |
323 | 325 |
324 private: | 326 private: |
325 static MemType2Name MemType2NameMap[NUMBER_OF_MEMORY_TYPE]; | 327 static MemType2Name MemType2NameMap[NUMBER_OF_MEMORY_TYPE]; |
326 | 328 |
327 private: | 329 private: |
430 | 432 |
431 // sorting functions for raw records | 433 // sorting functions for raw records |
432 static int malloc_sort_by_pc(const void* p1, const void* p2); | 434 static int malloc_sort_by_pc(const void* p1, const void* p2); |
433 static int malloc_sort_by_addr(const void* p1, const void* p2); | 435 static int malloc_sort_by_addr(const void* p1, const void* p2); |
434 | 436 |
435 static int vm_sort_by_pc(const void* p1, const void* p2); | |
436 static int vm_sort_by_addr(const void* p1, const void* p2); | |
437 | |
438 private: | 437 private: |
439 // sorting functions for baselined records | 438 // sorting functions for baselined records |
440 static int bl_malloc_sort_by_size(const void* p1, const void* p2); | 439 static int bl_malloc_sort_by_size(const void* p1, const void* p2); |
441 static int bl_vm_sort_by_size(const void* p1, const void* p2); | 440 static int bl_vm_sort_by_size(const void* p1, const void* p2); |
442 static int bl_malloc_sort_by_pc(const void* p1, const void* p2); | 441 static int bl_malloc_sort_by_pc(const void* p1, const void* p2); |