# HG changeset patch # User brutisso # Date 1457601428 -3600 # Thu Mar 10 10:17:08 2016 +0100 # Node ID 78d918f040046ec1b09e95909de8721710e4c190 # Parent a8fd0d8c7803c5a312e14684560799e5b58d757e imported patch compactableFreeListSpace-warning diff --git a/src/share/vm/gc/cms/compactibleFreeListSpace.cpp b/src/share/vm/gc/cms/compactibleFreeListSpace.cpp --- a/src/share/vm/gc/cms/compactibleFreeListSpace.cpp +++ b/src/share/vm/gc/cms/compactibleFreeListSpace.cpp @@ -33,6 +33,7 @@ #include "gc/shared/liveRange.hpp" #include "gc/shared/space.inline.hpp" #include "gc/shared/spaceDecorator.hpp" +#include "logging/log.hpp" #include "memory/allocation.inline.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.inline.hpp" @@ -1931,10 +1932,8 @@ if (blk->_ptr == NULL) { refillLinearAllocBlock(blk); } - if (PrintMiscellaneous && Verbose) { - if (blk->_word_size == 0) { - warning("CompactibleFreeListSpace(prologue):: Linear allocation failure"); - } + if (blk->_word_size == 0) { + log_debug(gc, freelist)("CompactibleFreeListSpace:: Linear allocation failure"); } }