Mercurial > hg > truffle
comparison src/share/vm/classfile/classLoader.cpp @ 12002:6e04c193845f
8021301: better event messages
Summary: made event messages better readable
Reviewed-by: kvn, rbackman
author | anoll |
---|---|
date | Fri, 02 Aug 2013 10:20:34 -0700 |
parents | d1c9384eecb4 |
children | 3cce976666d9 7e7dd25666da bdd155477289 |
comparison
equal
deleted
inserted
replaced
12001:446cb5d25d03 | 12002:6e04c193845f |
---|---|
876 } | 876 } |
877 | 877 |
878 | 878 |
879 instanceKlassHandle ClassLoader::load_classfile(Symbol* h_name, TRAPS) { | 879 instanceKlassHandle ClassLoader::load_classfile(Symbol* h_name, TRAPS) { |
880 ResourceMark rm(THREAD); | 880 ResourceMark rm(THREAD); |
881 EventMark m("loading class " INTPTR_FORMAT, (address)h_name); | 881 EventMark m("loading class %s", h_name->as_C_string()); |
882 ThreadProfilerMark tpm(ThreadProfilerMark::classLoaderRegion); | 882 ThreadProfilerMark tpm(ThreadProfilerMark::classLoaderRegion); |
883 | 883 |
884 stringStream st; | 884 stringStream st; |
885 // st.print() uses too much stack space while handling a StackOverflowError | 885 // st.print() uses too much stack space while handling a StackOverflowError |
886 // st.print("%s.class", h_name->as_utf8()); | 886 // st.print("%s.class", h_name->as_utf8()); |