Mercurial > hg > graal-compiler
diff src/share/vm/code/nmethod.cpp @ 19735:f3eed864acdc
Support printing options for more nmethod parts
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 09 Mar 2015 12:18:19 -0700 |
parents | dcfdd60edaf1 |
children | f8147c931ce4 |
line wrap: on
line diff
--- 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) {