hotspot/src/share/vm/code/nmethod.cpp
changeset 22872 b6902ee5bc8d
parent 22506 0759c126204d
parent 22854 2787e48d6df9
child 22881 b16d7faa638d
child 22921 ee35d5c0b1dc
--- a/hotspot/src/share/vm/code/nmethod.cpp	Tue Jan 28 11:21:43 2014 -0800
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Tue Jan 28 12:25:34 2014 -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);
       }
     }