diff src/share/vm/opto/parse2.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 be93aad57795
children 8f5825e0aeaa
line wrap: on
line diff
--- a/src/share/vm/opto/parse2.cpp	Fri May 08 10:34:31 2009 -0700
+++ b/src/share/vm/opto/parse2.cpp	Fri May 08 10:44:20 2009 -0700
@@ -2052,7 +2052,7 @@
     // null exception oop throws NULL pointer exception
     do_null_check(peek(), T_OBJECT);
     if (stopped())  return;
-    if (JvmtiExport::can_post_exceptions()) {
+    if (env()->jvmti_can_post_exceptions()) {
       // "Full-speed throwing" is not necessary here,
       // since we're notifying the VM on every throw.
       uncommon_trap(Deoptimization::Reason_unhandled,