hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 33451 0712796e4039
parent 33198 b37ad9fbf681
child 33470 0ce01b662ff2
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Oct 20 13:36:20 2015 +0000
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Oct 20 18:07:28 2015 +0200
@@ -2696,6 +2696,12 @@
 
       if (nm != NULL) {
         method->set_code(method, nm);
+
+        DirectiveSet* directive = DirectivesStack::getDefaultDirective(CompileBroker::compiler(CompLevel_simple));
+        if (directive->PrintAssemblyOption) {
+          Disassembler::decode(nm, tty);
+        }
+        DirectivesStack::release(directive);
       }
     }
   } // Unlock AdapterHandlerLibrary_lock