src/share/vm/compiler/compileBroker.cpp

changeset 1215
c96bf21b756f
parent 435
a61af66fc99e
child 1279
bd02caa94611
equal deleted inserted replaced
1214:d0e0d6d824d8 1215:c96bf21b756f
1528 ci_env.set_log(thread->log()); 1528 ci_env.set_log(thread->log());
1529 } 1529 }
1530 assert(thread->env() == &ci_env, "set by ci_env"); 1530 assert(thread->env() == &ci_env, "set by ci_env");
1531 // The thread-env() field is cleared in ~CompileTaskWrapper. 1531 // The thread-env() field is cleared in ~CompileTaskWrapper.
1532 1532
1533 // Cache Jvmti state
1534 ci_env.cache_jvmti_state();
1535
1536 // Cache DTrace flags
1537 ci_env.cache_dtrace_flags();
1538
1533 ciMethod* target = ci_env.get_method_from_handle(target_handle); 1539 ciMethod* target = ci_env.get_method_from_handle(target_handle);
1534 1540
1535 TraceTime t1("compilation", &time); 1541 TraceTime t1("compilation", &time);
1536 1542
1537 compiler(task->comp_level())->compile_method(&ci_env, target, osr_bci); 1543 compiler(task->comp_level())->compile_method(&ci_env, target, osr_bci);

mercurial