# HG changeset patch # User Gilles Duboscq # Date 1386959470 -3600 # Node ID 63724649e19ee936112e85557152e549c4222edc # Parent e1365fd161043c01a7b10f8e8687892192cbffb0 Fix native assertion failure when using PrintDeoptimizationDetails in non-product build diff -r e1365fd16104 -r 63724649e19e src/share/vm/runtime/vframe.cpp --- 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 {