--- old/src/share/vm/runtime/sweeper.cpp 2014-04-29 16:56:34.000000000 -0400 +++ new/src/share/vm/runtime/sweeper.cpp 2014-04-29 16:56:34.000000000 -0400 @@ -41,6 +41,8 @@ #include "utilities/ticks.inline.hpp" #include "utilities/xmlstream.hpp" +PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC + #ifdef ASSERT #define SWEEP(nm) record_sweep(nm, __LINE__) @@ -625,7 +627,7 @@ tty->vprint(format, ap); va_end(ap); } - tty->print_cr(s.as_string()); + tty->print_raw_cr(s.as_string()); } if (LogCompilation && (xtty != NULL)) { @@ -642,7 +644,7 @@ xtty->vprint(format, ap); va_end(ap); } - xtty->print(s.as_string()); + xtty->print_raw(s.as_string()); xtty->stamp(); xtty->end_elem(); }