mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6912062: disassembler plugin needs to produce symbolic information in product mode
More informative disassembly in product mode. Also, a more consistent CompileCommand syntax. Reviewed-by: never
This commit is contained in:
parent
7548b8eed5
commit
fdbb64ef71
39 changed files with 262 additions and 128 deletions
|
@ -387,9 +387,19 @@ void constantPoolKlass::oop_print_on(oop obj, outputStream* st) {
|
|||
cp->set_cache(cache());
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
void constantPoolKlass::oop_print_value_on(oop obj, outputStream* st) {
|
||||
assert(obj->is_constantPool(), "must be constantPool");
|
||||
constantPoolOop cp = constantPoolOop(obj);
|
||||
st->print("constant pool [%d]", cp->length());
|
||||
if (cp->has_pseudo_string()) st->print("/pseudo_string");
|
||||
if (cp->has_invokedynamic()) st->print("/invokedynamic");
|
||||
cp->print_address_on(st);
|
||||
st->print(" for ");
|
||||
cp->pool_holder()->print_value_on(st);
|
||||
}
|
||||
|
||||
const char* constantPoolKlass::internal_name() const {
|
||||
return "{constant pool}";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue