2516 out->print_cr("total of all chunks " SIZE_FORMAT " used " SIZE_FORMAT |
2516 out->print_cr("total of all chunks " SIZE_FORMAT " used " SIZE_FORMAT |
2517 " free " SIZE_FORMAT " capacity " SIZE_FORMAT |
2517 " free " SIZE_FORMAT " capacity " SIZE_FORMAT |
2518 " waste " SIZE_FORMAT, curr_total, used, free, capacity, waste); |
2518 " waste " SIZE_FORMAT, curr_total, used, free, capacity, waste); |
2519 } |
2519 } |
2520 |
2520 |
2521 #ifndef PRODUCT |
2521 #ifdef ASSERT |
2522 void SpaceManager::mangle_freed_chunks() { |
2522 void SpaceManager::mangle_freed_chunks() { |
2523 for (ChunkIndex index = SmallIndex; |
2523 for (ChunkIndex index = SmallIndex; |
2524 index < NumberOfFreeLists; |
2524 index < NumberOfFreeLists; |
2525 index = next_chunk_index(index)) { |
2525 index = next_chunk_index(index)) { |
2526 for (Metachunk* curr = chunks_in_use(index); |
2526 for (Metachunk* curr = chunks_in_use(index); |