8026720: Remove the unused SpaceManager::mangle_freed_chunks
Reviewed-by: mgerdin, tschatzl, vlivanov
--- a/hotspot/src/share/vm/memory/metaspace.cpp Tue Mar 08 13:17:30 2016 +0100
+++ b/hotspot/src/share/vm/memory/metaspace.cpp Thu Mar 17 21:00:51 2016 +0100
@@ -759,7 +759,6 @@
void verify();
void verify_chunk_size(Metachunk* chunk);
- NOT_PRODUCT(void mangle_freed_chunks();)
#ifdef ASSERT
void verify_allocated_blocks_words();
#endif
@@ -2519,20 +2518,6 @@
" waste " SIZE_FORMAT, curr_total, used, free, capacity, waste);
}
-#ifndef PRODUCT
-void SpaceManager::mangle_freed_chunks() {
- for (ChunkIndex index = ZeroIndex;
- index < NumberOfInUseLists;
- index = next_chunk_index(index)) {
- for (Metachunk* curr = chunks_in_use(index);
- curr != NULL;
- curr = curr->next()) {
- curr->mangle();
- }
- }
-}
-#endif // PRODUCT
-
// MetaspaceAux