changeset 13325:63724649e19e

Fix native assertion failure when using PrintDeoptimizationDetails in non-product build
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 13 Dec 2013 19:31:10 +0100
parents e1365fd16104
children 5d47d69d523a
files src/share/vm/runtime/vframe.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/vframe.cpp	Fri Dec 13 16:39:06 2013 +0100
+++ b/src/share/vm/runtime/vframe.cpp	Fri Dec 13 19:31:10 2013 +0100
@@ -266,7 +266,7 @@
 
   // Get oopmap describing oops and int for current bci
   InterpreterOopMap oop_mask;
-  if (TraceDeoptimization && Verbose) {
+  if ((TraceDeoptimization && Verbose) GRAAL_ONLY( || PrintDeoptimizationDetails)) {
     methodHandle m_h(thread(), method());
     OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask);
   } else {
@@ -333,7 +333,7 @@
 
   InterpreterOopMap oop_mask;
   // Get oopmap describing oops and int for current bci
-  if (TraceDeoptimization && Verbose) {
+  if ((TraceDeoptimization && Verbose) GRAAL_ONLY( || PrintDeoptimizationDetails)) {
     methodHandle m_h(method());
     OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask);
   } else {