hotspot/src/share/vm/runtime/vframe.cpp
changeset 46996 9cbcd7082efe
parent 46329 53ccc37bda19
--- a/hotspot/src/share/vm/runtime/vframe.cpp	Mon Aug 28 02:55:31 2017 -0700
+++ b/hotspot/src/share/vm/runtime/vframe.cpp	Mon Aug 28 09:06:30 2017 -0400
@@ -396,14 +396,7 @@
 StackValueCollection* interpretedVFrame::stack_data(bool expressions) const {
 
   InterpreterOopMap oop_mask;
-  // oopmap for current bci
-  if ((TraceDeoptimization && Verbose) JVMCI_ONLY( || PrintDeoptimizationDetails)) {
-    methodHandle m_h(Thread::current(), method());
-    OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask);
-  } else {
-    method()->mask_for(bci(), &oop_mask);
-  }
-
+  method()->mask_for(bci(), &oop_mask);
   const int mask_len = oop_mask.number_of_entries();
 
   // If the method is native, method()->max_locals() is not telling the truth.