src/share/vm/services/mallocTracker.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8068451 Cdiff src/share/vm/services/mallocTracker.cpp
src/share/vm/services/mallocTracker.cpp
Print this page
*** 50,60 ****
}
return amount;
}
// Make adjustment by subtracting chunks used by arenas
! // from total chunks to get total free chunck size
void MallocMemorySnapshot::make_adjustment() {
size_t arena_size = total_arena();
int chunk_idx = NMTUtil::flag_to_index(mtChunk);
_malloc[chunk_idx].record_free(arena_size);
}
--- 50,60 ----
}
return amount;
}
// Make adjustment by subtracting chunks used by arenas
! // from total chunks to get total free chunk size
void MallocMemorySnapshot::make_adjustment() {
size_t arena_size = total_arena();
int chunk_idx = NMTUtil::flag_to_index(mtChunk);
_malloc[chunk_idx].record_free(arena_size);
}
src/share/vm/services/mallocTracker.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File