1.1 --- a/src/share/vm/memory/metaspace.cpp Thu May 15 18:23:26 2014 -0400 1.2 +++ b/src/share/vm/memory/metaspace.cpp Thu May 22 15:52:41 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -48,6 +48,8 @@ 1.11 #include "utilities/copy.hpp" 1.12 #include "utilities/debug.hpp" 1.13 1.14 +PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC 1.15 + 1.16 typedef BinaryTreeDictionary<Metablock, FreeList<Metablock> > BlockTreeDictionary; 1.17 typedef BinaryTreeDictionary<Metachunk, FreeList<Metachunk> > ChunkTreeDictionary; 1.18 1.19 @@ -1980,7 +1982,7 @@ 1.20 st->print_cr(" free " SIZE_FORMAT, 1.21 chunk->free_word_size()); 1.22 } else { 1.23 - st->print_cr(""); 1.24 + st->cr(); 1.25 } 1.26 } 1.27 1.28 @@ -2264,7 +2266,7 @@ 1.29 humongous_chunks = next_humongous_chunks; 1.30 } 1.31 if (TraceMetadataChunkAllocation && Verbose) { 1.32 - gclog_or_tty->print_cr(""); 1.33 + gclog_or_tty->cr(); 1.34 gclog_or_tty->print_cr("updated dictionary count %d %s", 1.35 chunk_manager()->humongous_dictionary()->total_count(), 1.36 chunk_size_name(HumongousIndex));