hotspot/src/share/vm/code/nmethod.cpp
changeset 22881 b16d7faa638d
parent 22796 bb0ea482a99e
parent 22872 b6902ee5bc8d
child 22922 d3b370c35082
--- a/hotspot/src/share/vm/code/nmethod.cpp	Tue Feb 18 09:54:24 2014 -0500
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Thu Feb 20 12:20:56 2014 -0800
@@ -597,7 +597,7 @@
         InstanceKlass::cast(klass)->add_dependent_nmethod(nm);
       }
       NOT_PRODUCT(nmethod_stats.note_nmethod(nm));
-      if (PrintAssembly) {
+      if (PrintAssembly || CompilerOracle::has_option_string(method, "PrintAssembly")) {
         Disassembler::decode(nm);
       }
     }