提交 ca472c06 编写于 作者: K kvn

8038286: nm->set_rtm_state() should be called after (nm != NULL) check

Summary: move set_rtm_state() call after (nm != NULL) check
Reviewed-by: iveresov, twisti
上级 368fe9a0
......@@ -1009,15 +1009,15 @@ void ciEnv::register_method(ciMethod* target,
frame_words, oop_map_set,
handler_table, inc_table,
compiler, comp_level);
#if INCLUDE_RTM_OPT
nm->set_rtm_state(rtm_state);
#endif
// Free codeBlobs
code_buffer->free_blob();
if (nm != NULL) {
nm->set_has_unsafe_access(has_unsafe_access);
nm->set_has_wide_vectors(has_wide_vectors);
#if INCLUDE_RTM_OPT
nm->set_rtm_state(rtm_state);
#endif
// Record successful registration.
// (Put nm into the task handle *before* publishing to the Java heap.)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册