This commit is contained in:
Vladimir Kozlov 2014-02-20 12:20:56 -08:00
commit 4200d0d095
358 changed files with 58894 additions and 1801 deletions

View file

@ -597,7 +597,7 @@ nmethod* nmethod::new_nmethod(methodHandle method,
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);
}
}