hotspot/src/share/vm/opto/graphKit.cpp
changeset 2867 69187054225f
parent 2574 1d5f85c2d755
child 3178 596a9ab2a92d
--- a/hotspot/src/share/vm/opto/graphKit.cpp	Fri May 08 10:34:31 2009 -0700
+++ b/hotspot/src/share/vm/opto/graphKit.cpp	Fri May 08 10:44:20 2009 -0700
@@ -459,7 +459,7 @@
 void GraphKit::builtin_throw(Deoptimization::DeoptReason reason, Node* arg) {
   bool must_throw = true;
 
-  if (JvmtiExport::can_post_exceptions()) {
+  if (env()->jvmti_can_post_exceptions()) {
     // Do not try anything fancy if we're notifying the VM on every throw.
     // Cf. case Bytecodes::_athrow in parse2.cpp.
     uncommon_trap(reason, Deoptimization::Action_none,
@@ -769,7 +769,7 @@
     }
   }
 
-  if (JvmtiExport::can_examine_or_deopt_anywhere()) {
+  if (env()->jvmti_can_examine_or_deopt_anywhere()) {
     // At any safepoint, this method can get breakpointed, which would
     // then require an immediate deoptimization.
     full_info = true;