hotspot/src/share/vm/jvmci/jvmciCodeInstaller.cpp
changeset 46479 a10af96a2dbb
parent 46289 1904e7ec236e
child 46620 750c6edff33b
--- a/hotspot/src/share/vm/jvmci/jvmciCodeInstaller.cpp	Thu May 18 17:20:59 2017 +0200
+++ b/hotspot/src/share/vm/jvmci/jvmciCodeInstaller.cpp	Thu May 18 11:27:06 2017 -0700
@@ -630,7 +630,7 @@
     if (nm != NULL && env == NULL) {
       DirectiveSet* directive = DirectivesStack::getMatchingDirective(method, compiler);
       bool printnmethods = directive->PrintAssemblyOption || directive->PrintNMethodsOption;
-      if (printnmethods || PrintDebugInfo || PrintRelocations || PrintDependencies || PrintExceptionHandlers) {
+      if (!printnmethods && (PrintDebugInfo || PrintRelocations || PrintDependencies || PrintExceptionHandlers)) {
         nm->print_nmethod(printnmethods);
       }
       DirectivesStack::release(directive);