src/share/vm/ci/ciEnv.cpp

changeset 3099
c124e2e7463e
parent 3094
b27c72d69fd1
child 3155
eda6988c0d81
equal deleted inserted replaced
3098:a64d352d1118 3099:c124e2e7463e
947 OopMapSet* oop_map_set, 947 OopMapSet* oop_map_set,
948 ExceptionHandlerTable* handler_table, 948 ExceptionHandlerTable* handler_table,
949 ImplicitExceptionTable* inc_table, 949 ImplicitExceptionTable* inc_table,
950 AbstractCompiler* compiler, 950 AbstractCompiler* compiler,
951 int comp_level, 951 int comp_level,
952 bool has_debug_info,
953 bool has_unsafe_access) { 952 bool has_unsafe_access) {
954 VM_ENTRY_MARK; 953 VM_ENTRY_MARK;
955 nmethod* nm = NULL; 954 nmethod* nm = NULL;
956 { 955 {
957 // To prevent compile queue updates. 956 // To prevent compile queue updates.
1042 MutexUnlocker ml(Compile_lock); 1041 MutexUnlocker ml(Compile_lock);
1043 MutexUnlocker locker(MethodCompileQueue_lock); 1042 MutexUnlocker locker(MethodCompileQueue_lock);
1044 CompileBroker::handle_full_code_cache(); 1043 CompileBroker::handle_full_code_cache();
1045 } 1044 }
1046 } else { 1045 } else {
1047 NOT_PRODUCT(nm->set_has_debug_info(has_debug_info); )
1048 nm->set_has_unsafe_access(has_unsafe_access); 1046 nm->set_has_unsafe_access(has_unsafe_access);
1049 1047
1050 // Record successful registration. 1048 // Record successful registration.
1051 // (Put nm into the task handle *before* publishing to the Java heap.) 1049 // (Put nm into the task handle *before* publishing to the Java heap.)
1052 if (task() != NULL) task()->set_code(nm); 1050 if (task() != NULL) task()->set_code(nm);

mercurial