Mercurial > hg > graal-compiler
comparison src/share/vm/oops/methodDataKlass.cpp @ 1155:4e6abf09f540
6912062: disassembler plugin needs to produce symbolic information in product mode
Summary: More informative disassembly in product mode. Also, a more consistent CompileCommand syntax.
Reviewed-by: never
author | jrose |
---|---|
date | Fri, 08 Jan 2010 13:47:01 -0800 |
parents | d1605aabd0a1 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1153:bea7a22a6f79 | 1155:4e6abf09f540 |
---|---|
212 m->method()->print_value_on(st); | 212 m->method()->print_value_on(st); |
213 st->cr(); | 213 st->cr(); |
214 m->print_data_on(st); | 214 m->print_data_on(st); |
215 } | 215 } |
216 | 216 |
217 #endif //PRODUCT | |
218 | |
217 void methodDataKlass::oop_print_value_on(oop obj, outputStream* st) { | 219 void methodDataKlass::oop_print_value_on(oop obj, outputStream* st) { |
218 assert(obj->is_methodData(), "should be method data"); | 220 assert(obj->is_methodData(), "should be method data"); |
219 methodDataOop m = methodDataOop(obj); | 221 methodDataOop m = methodDataOop(obj); |
220 st->print("method data for "); | 222 st->print("method data for "); |
221 m->method()->print_value_on(st); | 223 m->method()->print_value_on(st); |
222 } | 224 } |
223 | |
224 #endif // !PRODUCT | |
225 | 225 |
226 const char* methodDataKlass::internal_name() const { | 226 const char* methodDataKlass::internal_name() const { |
227 return "{method data}"; | 227 return "{method data}"; |
228 } | 228 } |
229 | 229 |