src/hotspot/share/code/nmethod.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/hotspot/share/code/nmethod.cpp Wed Nov 29 22:56:27 2017
--- new/src/hotspot/share/code/nmethod.cpp Wed Nov 29 22:56:27 2017
*** 436,453 ****
--- 436,453 ----
code_buffer, frame_size,
basic_lock_owner_sp_offset,
basic_lock_sp_offset, oop_maps);
NOT_PRODUCT(if (nm != NULL) native_nmethod_stats.note_native_nmethod(nm));
}
// verify nmethod
debug_only(if (nm) nm->verify();) // might block
if (nm != NULL) {
nm->log_new_nmethod();
}
+ // verify nmethod
+ debug_only(nm->verify();) // might block
+ nm->log_new_nmethod();
nm->make_in_use();
+ }
return nm;
}
nmethod* nmethod::new_nmethod(const methodHandle& method,
int compile_id,
src/hotspot/share/code/nmethod.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File