src/share/vm/oops/instanceKlass.cpp

changeset 6680
78bbf4d43a14
parent 6632
386dd1c71858
child 6718
bd4d69d9cb7d
     1.1 --- a/src/share/vm/oops/instanceKlass.cpp	Thu May 15 18:23:26 2014 -0400
     1.2 +++ b/src/share/vm/oops/instanceKlass.cpp	Thu May 22 15:52:41 2014 -0400
     1.3 @@ -75,6 +75,8 @@
     1.4  #include "c1/c1_Compiler.hpp"
     1.5  #endif
     1.6  
     1.7 +PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
     1.8 +
     1.9  #ifdef DTRACE_ENABLED
    1.10  
    1.11  #ifndef USDT2
    1.12 @@ -2895,7 +2897,7 @@
    1.13    st->print(BULLET"instance size:     %d", size_helper());                        st->cr();
    1.14    st->print(BULLET"klass size:        %d", size());                               st->cr();
    1.15    st->print(BULLET"access:            "); access_flags().print_on(st);            st->cr();
    1.16 -  st->print(BULLET"state:             "); st->print_cr(state_names[_init_state]);
    1.17 +  st->print(BULLET"state:             "); st->print_cr("%s", state_names[_init_state]);
    1.18    st->print(BULLET"name:              "); name()->print_value_on(st);             st->cr();
    1.19    st->print(BULLET"super:             "); super()->print_value_on_maybe_null(st); st->cr();
    1.20    st->print(BULLET"sub:               ");

mercurial