Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Fri May 08 10:34:31 2009 -0700 +++ b/src/share/vm/compiler/compileBroker.cpp Fri May 08 10:44:20 2009 -0700 @@ -1530,6 +1530,12 @@ assert(thread->env() == &ci_env, "set by ci_env"); // The thread-env() field is cleared in ~CompileTaskWrapper. + // Cache Jvmti state + ci_env.cache_jvmti_state(); + + // Cache DTrace flags + ci_env.cache_dtrace_flags(); + ciMethod* target = ci_env.get_method_from_handle(target_handle); TraceTime t1("compilation", &time);