mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8075269: Extend -XX:CompileCommand=print,* to work for MethodHandle.invokeBasic/linkTo*
Reviewed-by: jrose, kvn, dlong
This commit is contained in:
parent
e53337224d
commit
d6f7c9f4a6
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ nmethod* nmethod::new_native_nmethod(methodHandle method,
|
|||
basic_lock_owner_sp_offset,
|
||||
basic_lock_sp_offset, oop_maps);
|
||||
NOT_PRODUCT(if (nm != NULL) nmethod_stats.note_native_nmethod(nm));
|
||||
if (PrintAssembly && nm != NULL) {
|
||||
if ((PrintAssembly || CompilerOracle::should_print(method)) && nm != NULL) {
|
||||
Disassembler::decode(nm);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue