src/share/vm/services/mallocTracker.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/services/mallocTracker.hpp
src/share/vm/services/mallocTracker.hpp
Print this page
*** 169,180 ****
// Total malloc'd memory amount
size_t total() const;
// Total malloc'd memory used by arenas
size_t total_arena() const;
! inline size_t thread_count() {
! return by_type(mtThreadStack)->malloc_count();
}
void reset();
void copy_to(MallocMemorySnapshot* s) {
--- 169,181 ----
// Total malloc'd memory amount
size_t total() const;
// Total malloc'd memory used by arenas
size_t total_arena() const;
! inline size_t thread_count() const {
! MallocMemorySnapshot* s = const_cast<MallocMemorySnapshot*>(this);
! return s->by_type(mtThreadStack)->malloc_count();
}
void reset();
void copy_to(MallocMemorySnapshot* s) {
src/share/vm/services/mallocTracker.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File