--- old/src/hotspot/share/memory/metaspace/chunkManager.cpp 2018-06-26 09:48:12.724260032 +0200 +++ new/src/hotspot/share/memory/metaspace/chunkManager.cpp 2018-06-26 09:48:12.476249244 +0200 @@ -508,7 +508,7 @@ return NULL; } - log_debug(gc, metaspace, alloc)("Free list allocate humongous chunk size " SIZE_FORMAT " for requested size " SIZE_FORMAT " waste " SIZE_FORMAT, + 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); } @@ -550,7 +550,7 @@ assert((word_size <= chunk->word_size()) || (list_index(chunk->word_size()) == HumongousIndex), "Non-humongous variable sized chunk"); - LogTarget(Debug, gc, metaspace, freelist) lt; + LogTarget(Trace, gc, metaspace, freelist) lt; if (lt.is_enabled()) { size_t list_count; if (list_index(word_size) < HumongousIndex) { --- old/src/hotspot/share/memory/metaspace/spaceManager.cpp 2018-06-26 09:48:13.102276474 +0200 +++ new/src/hotspot/share/memory/metaspace/spaceManager.cpp 2018-06-26 09:48:12.828264556 +0200 @@ -152,11 +152,11 @@ " chunk_word_size " SIZE_FORMAT, word_size, chunk_word_size); Log(gc, metaspace, alloc) log; - if (log.is_debug() && SpaceManager::is_humongous(word_size)) { - log.debug("Metadata humongous allocation:"); - log.debug(" word_size " PTR_FORMAT, word_size); - log.debug(" chunk_word_size " PTR_FORMAT, chunk_word_size); - log.debug(" chunk overhead " PTR_FORMAT, Metachunk::overhead()); + if (log.is_trace() && SpaceManager::is_humongous(word_size)) { + log.trace("Metadata humongous allocation:"); + log.trace(" word_size " PTR_FORMAT, word_size); + log.trace(" chunk_word_size " PTR_FORMAT, chunk_word_size); + log.trace(" chunk overhead " PTR_FORMAT, Metachunk::overhead()); } return chunk_word_size; } @@ -390,9 +390,9 @@ } Log(gc, metaspace, alloc) log; - if (log.is_debug() && next != NULL && + if (log.is_trace() && next != NULL && SpaceManager::is_humongous(next->word_size())) { - log.debug(" new humongous chunk word size " PTR_FORMAT, next->word_size()); + log.trace(" new humongous chunk word size " PTR_FORMAT, next->word_size()); } return next; --- old/src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp 2018-06-26 09:48:13.507294092 +0200 +++ new/src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp 2018-06-26 09:48:13.230282042 +0200 @@ -428,7 +428,7 @@ "The committed memory doesn't match the expanded memory."); if (!is_available(chunk_word_size)) { - LogTarget(Debug, gc, metaspace, freelist) lt; + LogTarget(Trace, gc, metaspace, freelist) lt; if (lt.is_enabled()) { LogStream ls(lt); ls.print("VirtualSpaceNode::take_from_committed() not available " SIZE_FORMAT " words ", chunk_word_size);