# HG changeset patch # User Tom Rodriguez # Date 1425928699 25200 # Node ID f3eed864acdcc2e2469c93b75feb91bc850f8dbb # Parent 72a3e399587986ae5a6867839c8b04d8627126a4 Support printing options for more nmethod parts diff -r 72a3e3995879 -r f3eed864acdc src/share/vm/code/nmethod.cpp --- a/src/share/vm/code/nmethod.cpp Mon Mar 09 12:17:28 2015 -0700 +++ b/src/share/vm/code/nmethod.cpp Mon Mar 09 12:18:19 2015 -0700 @@ -1105,13 +1105,13 @@ oop_maps()->print(); } } - if (PrintDebugInfo) { + if (PrintDebugInfo || CompilerOracle::has_option_string(_method, "PrintDebugInfo")) { print_scopes(); } - if (PrintRelocations) { + if (PrintRelocations || CompilerOracle::has_option_string(_method, "PrintRelocations")) { print_relocations(); } - if (PrintDependencies) { + if (PrintDependencies || CompilerOracle::has_option_string(_method, "PrintDependencies")) { print_dependencies(); } if (PrintExceptionHandlers) {