Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/nmethod.cpp @ 10627:4acf032748b9
Reenabled nmethod statistics in product mode.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 05 Jul 2013 14:05:06 +0200 |
parents | 0b1b5356b566 |
children | d55f24eac4b1 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Fri Jul 05 14:00:17 2013 +0200 +++ b/src/share/vm/code/nmethod.cpp Fri Jul 05 14:05:06 2013 +0200 @@ -518,7 +518,7 @@ code_buffer, frame_size, basic_lock_owner_sp_offset, basic_lock_sp_offset, oop_maps); - NOT_PRODUCT(if (nm != NULL) nmethod_stats.note_native_nmethod(nm)); + if (nm != NULL) nmethod_stats.note_native_nmethod(nm); if (PrintAssembly && nm != NULL) { Disassembler::decode(nm); } @@ -554,7 +554,7 @@ nm = new (nmethod_size) nmethod(method(), nmethod_size, &offsets, code_buffer, frame_size); - NOT_PRODUCT(if (nm != NULL) nmethod_stats.note_nmethod(nm)); + if (nm != NULL) nmethod_stats.note_nmethod(nm); if (PrintAssembly && nm != NULL) { Disassembler::decode(nm); } @@ -639,7 +639,7 @@ InstanceKlass::cast(klass)->add_dependent_nmethod(nm); } } - NOT_PRODUCT(if (nm != NULL) nmethod_stats.note_nmethod(nm)); + if (nm != NULL) nmethod_stats.note_nmethod(nm); if (PrintAssembly && nm != NULL) { Disassembler::decode(nm); }