mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-23 06:10:01 +00:00
8225429: Regression in disassembly quality
Reviewed-by: never
This commit is contained in:
parent
d571d105ae
commit
83377c41ff
@ -413,6 +413,7 @@ class CodeBuffer: public StackObj {
|
||||
|| PrintMethodHandleStubs
|
||||
|| PrintInterpreter
|
||||
|| PrintSignatureHandlers
|
||||
|| UnlockDiagnosticVMOptions
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -38,12 +38,12 @@
|
||||
bool AbstractDisassembler::_show_data_hex = true;
|
||||
bool AbstractDisassembler::_show_data_int = false;
|
||||
bool AbstractDisassembler::_show_data_float = false;
|
||||
bool AbstractDisassembler::_align_instr = false;
|
||||
bool AbstractDisassembler::_align_instr = true;
|
||||
bool AbstractDisassembler::_show_pc = true;
|
||||
bool AbstractDisassembler::_show_offset = false;
|
||||
bool AbstractDisassembler::_show_structs = false;
|
||||
bool AbstractDisassembler::_show_comment = false;
|
||||
bool AbstractDisassembler::_show_block_comment = false;
|
||||
bool AbstractDisassembler::_show_structs = true;
|
||||
bool AbstractDisassembler::_show_comment = true;
|
||||
bool AbstractDisassembler::_show_block_comment = true;
|
||||
|
||||
// set "true" to see what's in memory bit by bit
|
||||
// might prove cumbersome on platforms where instr_len is hard to find out
|
||||
|
||||
@ -147,7 +147,10 @@ class decode_env {
|
||||
|
||||
if (AbstractDisassembler::show_comment()) {
|
||||
if ((_nm != NULL) && _nm->has_code_comment(pc0, pc)) {
|
||||
_nm->print_code_comment_on(st, _post_decode_alignment, pc0, pc);
|
||||
_nm->print_code_comment_on
|
||||
(st,
|
||||
_post_decode_alignment ? _post_decode_alignment : COMMENT_COLUMN,
|
||||
pc0, pc);
|
||||
// this calls reloc_string_for which calls oop::print_value_on
|
||||
}
|
||||
print_hook_comments(pc0, _nm != NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user