1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp Thu May 15 18:23:26 2014 -0400 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp Thu May 22 15:52:41 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 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 @@ -22,6 +22,10 @@ 1.11 * 1.12 */ 1.13 1.14 +#ifndef __clang_major__ 1.15 +#define ATTRIBUTE_PRINTF(x,y) // FIXME, formats are a mess. 1.16 +#endif 1.17 + 1.18 #include "precompiled.hpp" 1.19 #include "gc_implementation/g1/concurrentG1Refine.hpp" 1.20 #include "gc_implementation/g1/concurrentMark.hpp" 1.21 @@ -965,7 +969,7 @@ 1.22 1.23 #ifndef PRODUCT 1.24 if (G1YoungSurvRateVerbose) { 1.25 - gclog_or_tty->print_cr(""); 1.26 + gclog_or_tty->cr(); 1.27 _short_lived_surv_rate_group->print(); 1.28 // do that for any other surv rate groups too 1.29 } 1.30 @@ -2222,11 +2226,11 @@ 1.31 1.32 gclog_or_tty->print_cr("ALL PAUSES"); 1.33 print_summary_sd(" Total", &_total); 1.34 - gclog_or_tty->print_cr(""); 1.35 - gclog_or_tty->print_cr(""); 1.36 + gclog_or_tty->cr(); 1.37 + gclog_or_tty->cr(); 1.38 gclog_or_tty->print_cr(" Young GC Pauses: %8d", _young_pause_num); 1.39 gclog_or_tty->print_cr(" Mixed GC Pauses: %8d", _mixed_pause_num); 1.40 - gclog_or_tty->print_cr(""); 1.41 + gclog_or_tty->cr(); 1.42 1.43 gclog_or_tty->print_cr("EVACUATION PAUSES"); 1.44 1.45 @@ -2246,7 +2250,7 @@ 1.46 print_summary(" Clear CT", &_clear_ct); 1.47 print_summary(" Other", &_other); 1.48 } 1.49 - gclog_or_tty->print_cr(""); 1.50 + gclog_or_tty->cr(); 1.51 1.52 gclog_or_tty->print_cr("MISC"); 1.53 print_summary_sd(" Stop World", &_all_stop_world_times_ms);