1036 orig_pc_offset, |
1036 orig_pc_offset, |
1037 debug_info(), dependencies(), code_buffer, |
1037 debug_info(), dependencies(), code_buffer, |
1038 frame_words, oop_map_set, |
1038 frame_words, oop_map_set, |
1039 handler_table, inc_table, |
1039 handler_table, inc_table, |
1040 compiler, comp_level); |
1040 compiler, comp_level); |
1041 #if INCLUDE_RTM_OPT |
|
1042 nm->set_rtm_state(rtm_state); |
|
1043 #endif |
|
1044 // Free codeBlobs |
1041 // Free codeBlobs |
1045 code_buffer->free_blob(); |
1042 code_buffer->free_blob(); |
1046 |
1043 |
1047 if (nm != NULL) { |
1044 if (nm != NULL) { |
1048 nm->set_has_unsafe_access(has_unsafe_access); |
1045 nm->set_has_unsafe_access(has_unsafe_access); |
1049 nm->set_has_wide_vectors(has_wide_vectors); |
1046 nm->set_has_wide_vectors(has_wide_vectors); |
|
1047 #if INCLUDE_RTM_OPT |
|
1048 nm->set_rtm_state(rtm_state); |
|
1049 #endif |
1050 |
1050 |
1051 // Record successful registration. |
1051 // Record successful registration. |
1052 // (Put nm into the task handle *before* publishing to the Java heap.) |
1052 // (Put nm into the task handle *before* publishing to the Java heap.) |
1053 if (task() != NULL) { |
1053 if (task() != NULL) { |
1054 task()->set_code(nm); |
1054 task()->set_code(nm); |