mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -499,6 +499,8 @@ void objArrayKlass::oop_print_on(oop obj, outputStream* st) {
|
|||
}
|
||||
}
|
||||
|
||||
#endif //PRODUCT
|
||||
|
||||
static int max_objArray_print_length = 4;
|
||||
|
||||
void objArrayKlass::oop_print_value_on(oop obj, outputStream* st) {
|
||||
|
@ -508,7 +510,7 @@ void objArrayKlass::oop_print_value_on(oop obj, outputStream* st) {
|
|||
int len = objArrayOop(obj)->length();
|
||||
st->print("[%d] ", len);
|
||||
obj->print_address_on(st);
|
||||
if (PrintOopAddress || PrintMiscellaneous && (WizardMode || Verbose)) {
|
||||
if (NOT_PRODUCT(PrintOopAddress ||) PrintMiscellaneous && (WizardMode || Verbose)) {
|
||||
st->print("{");
|
||||
for (int i = 0; i < len; i++) {
|
||||
if (i > max_objArray_print_length) {
|
||||
|
@ -520,8 +522,6 @@ void objArrayKlass::oop_print_value_on(oop obj, outputStream* st) {
|
|||
}
|
||||
}
|
||||
|
||||
#endif // PRODUCT
|
||||
|
||||
const char* objArrayKlass::internal_name() const {
|
||||
return external_name();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue