hotspot/src/share/vm/code/nmethod.cpp
changeset 22854 2787e48d6df9
parent 22851 4c4b6a45be43
child 22872 b6902ee5bc8d
--- a/hotspot/src/share/vm/code/nmethod.cpp	Thu Nov 21 19:00:57 2013 -0800
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Fri Nov 22 12:14:09 2013 -0800
@@ -619,7 +619,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);
       }
     }