Mercurial > hg > graal-compiler
comparison src/share/vm/compiler/compileBroker.cpp @ 780:c96bf21b756f
6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Summary: Cache Jvmti and DTrace flags used by Compiler.
Reviewed-by: never
author | kvn |
---|---|
date | Fri, 08 May 2009 10:44:20 -0700 |
parents | a61af66fc99e |
children | bd02caa94611 |
comparison
equal
deleted
inserted
replaced
779:d0e0d6d824d8 | 780: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); |