< prev index next >

src/hotspot/share/memory/metaspace/chunkManager.cpp

Print this page

        

*** 506,516 **** if (chunk == NULL) { return NULL; } ! log_debug(gc, metaspace, alloc)("Free list allocate humongous chunk size " SIZE_FORMAT " for requested size " SIZE_FORMAT " waste " SIZE_FORMAT, chunk->word_size(), word_size, chunk->word_size() - word_size); } // Chunk has been removed from the chunk manager; update counters. account_for_removed_chunk(chunk); --- 506,516 ---- if (chunk == NULL) { return NULL; } ! log_trace(gc, metaspace, alloc)("Free list allocate humongous chunk size " SIZE_FORMAT " for requested size " SIZE_FORMAT " waste " SIZE_FORMAT, chunk->word_size(), word_size, chunk->word_size() - word_size); } // Chunk has been removed from the chunk manager; update counters. account_for_removed_chunk(chunk);
*** 548,558 **** } assert((word_size <= chunk->word_size()) || (list_index(chunk->word_size()) == HumongousIndex), "Non-humongous variable sized chunk"); ! LogTarget(Debug, gc, metaspace, freelist) lt; if (lt.is_enabled()) { size_t list_count; if (list_index(word_size) < HumongousIndex) { ChunkList* list = find_free_chunks_list(word_size); list_count = list->count(); --- 548,558 ---- } assert((word_size <= chunk->word_size()) || (list_index(chunk->word_size()) == HumongousIndex), "Non-humongous variable sized chunk"); ! LogTarget(Trace, gc, metaspace, freelist) lt; if (lt.is_enabled()) { size_t list_count; if (list_index(word_size) < HumongousIndex) { ChunkList* list = find_free_chunks_list(word_size); list_count = list->count();
< prev index next >