Mercurial > hg > truffle
comparison src/share/vm/oops/constantPoolKlass.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 | be93aad57795 |
children | c18cbe5936b8 beb77f0d41b3 |
comparison
equal
deleted
inserted
replaced
1153:bea7a22a6f79 | 1155:4e6abf09f540 |
---|---|
385 | 385 |
386 // Restore cache | 386 // Restore cache |
387 cp->set_cache(cache()); | 387 cp->set_cache(cache()); |
388 } | 388 } |
389 | 389 |
390 | |
391 #endif | 390 #endif |
391 | |
392 void constantPoolKlass::oop_print_value_on(oop obj, outputStream* st) { | |
393 assert(obj->is_constantPool(), "must be constantPool"); | |
394 constantPoolOop cp = constantPoolOop(obj); | |
395 st->print("constant pool [%d]", cp->length()); | |
396 if (cp->has_pseudo_string()) st->print("/pseudo_string"); | |
397 if (cp->has_invokedynamic()) st->print("/invokedynamic"); | |
398 cp->print_address_on(st); | |
399 st->print(" for "); | |
400 cp->pool_holder()->print_value_on(st); | |
401 } | |
392 | 402 |
393 const char* constantPoolKlass::internal_name() const { | 403 const char* constantPoolKlass::internal_name() const { |
394 return "{constant pool}"; | 404 return "{constant pool}"; |
395 } | 405 } |
396 | 406 |