--- 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