--- a/hotspot/src/share/vm/compiler/compileBroker.cpp Mon Feb 15 23:45:15 2016 +0300
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp Tue Feb 16 09:49:58 2016 -0800
@@ -1919,12 +1919,9 @@
collect_statistics(thread, time, task);
- bool printnmethods = directive->PrintAssemblyOption || directive->PrintNMethodsOption;
- if (printnmethods || PrintDebugInfo || PrintRelocations || PrintDependencies || PrintExceptionHandlers) {
- nmethod* nm = task->code();
- if (nm != NULL) {
- nm->print_nmethod(printnmethods);
- }
+ nmethod* nm = task->code();
+ if (nm != NULL) {
+ nm->maybe_print_nmethod(directive);
}
DirectivesStack::release(directive);