Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/constMethodKlass.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 | 0fbdb4381b99 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1153:bea7a22a6f79 | 1155:4e6abf09f540 |
---|---|
214 m->stackmap_data()->print_value_on(st); | 214 m->stackmap_data()->print_value_on(st); |
215 st->cr(); | 215 st->cr(); |
216 } | 216 } |
217 } | 217 } |
218 | 218 |
219 #endif //PRODUCT | |
219 | 220 |
220 // Short version of printing constMethodOop - just print the name of the | 221 // Short version of printing constMethodOop - just print the name of the |
221 // method it belongs to. | 222 // method it belongs to. |
222 void constMethodKlass::oop_print_value_on(oop obj, outputStream* st) { | 223 void constMethodKlass::oop_print_value_on(oop obj, outputStream* st) { |
223 assert(obj->is_constMethod(), "must be constMethod"); | 224 assert(obj->is_constMethod(), "must be constMethod"); |
224 constMethodOop m = constMethodOop(obj); | 225 constMethodOop m = constMethodOop(obj); |
225 st->print(" const part of method " ); | 226 st->print(" const part of method " ); |
226 m->method()->print_value_on(st); | 227 m->method()->print_value_on(st); |
227 } | 228 } |
228 | |
229 #endif // PRODUCT | |
230 | 229 |
231 const char* constMethodKlass::internal_name() const { | 230 const char* constMethodKlass::internal_name() const { |
232 return "{constMethod}"; | 231 return "{constMethod}"; |
233 } | 232 } |
234 | 233 |