# HG changeset patch # User vlivanov # Date 1426876894 25200 # Node ID c48efcf14cdcc9951b7f5a811c68264f9075770b # Parent a416fa6a0fe7b71cc06f3c0d54778fa8b6001627 8075269: Extend -XX:CompileCommand=print,* to work for MethodHandle.invokeBasic/linkTo* Reviewed-by: jrose, kvn, dlong diff -r a416fa6a0fe7 -r c48efcf14cdc hotspot/src/share/vm/code/nmethod.cpp --- a/hotspot/src/share/vm/code/nmethod.cpp Fri Mar 20 11:41:34 2015 -0700 +++ b/hotspot/src/share/vm/code/nmethod.cpp Fri Mar 20 11:41:34 2015 -0700 @@ -504,7 +504,7 @@ 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); } }