Mercurial > hg > truffle
comparison src/share/vm/oops/objArrayKlassKlass.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 | 4ce7240d622c |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1153:bea7a22a6f79 | 1155:4e6abf09f540 |
---|---|
276 st->print(" - instance klass: "); | 276 st->print(" - instance klass: "); |
277 oak->element_klass()->print_value_on(st); | 277 oak->element_klass()->print_value_on(st); |
278 st->cr(); | 278 st->cr(); |
279 } | 279 } |
280 | 280 |
281 #endif //PRODUCT | |
281 | 282 |
282 void objArrayKlassKlass::oop_print_value_on(oop obj, outputStream* st) { | 283 void objArrayKlassKlass::oop_print_value_on(oop obj, outputStream* st) { |
283 assert(obj->is_klass(), "must be klass"); | 284 assert(obj->is_klass(), "must be klass"); |
284 objArrayKlass* oak = (objArrayKlass*) klassOop(obj)->klass_part(); | 285 objArrayKlass* oak = (objArrayKlass*) klassOop(obj)->klass_part(); |
285 | 286 |
286 oak->element_klass()->print_value_on(st); | 287 oak->element_klass()->print_value_on(st); |
287 st->print("[]"); | 288 st->print("[]"); |
288 } | 289 } |
289 | |
290 #endif | |
291 | 290 |
292 const char* objArrayKlassKlass::internal_name() const { | 291 const char* objArrayKlassKlass::internal_name() const { |
293 return "{object array class}"; | 292 return "{object array class}"; |
294 } | 293 } |
295 | 294 |