Mercurial > hg > truffle
comparison src/share/vm/runtime/vframe.cpp @ 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 | b9a918201d47 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
13324:e1365fd16104 | 13325:63724649e19e |
---|---|
264 | 264 |
265 StackValueCollection* result = new StackValueCollection(length); | 265 StackValueCollection* result = new StackValueCollection(length); |
266 | 266 |
267 // Get oopmap describing oops and int for current bci | 267 // Get oopmap describing oops and int for current bci |
268 InterpreterOopMap oop_mask; | 268 InterpreterOopMap oop_mask; |
269 if (TraceDeoptimization && Verbose) { | 269 if ((TraceDeoptimization && Verbose) GRAAL_ONLY( || PrintDeoptimizationDetails)) { |
270 methodHandle m_h(thread(), method()); | 270 methodHandle m_h(thread(), method()); |
271 OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask); | 271 OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask); |
272 } else { | 272 } else { |
273 method()->mask_for(bci(), &oop_mask); | 273 method()->mask_for(bci(), &oop_mask); |
274 } | 274 } |
331 int nof_locals = method()->max_locals(); | 331 int nof_locals = method()->max_locals(); |
332 StackValueCollection* result = new StackValueCollection(length); | 332 StackValueCollection* result = new StackValueCollection(length); |
333 | 333 |
334 InterpreterOopMap oop_mask; | 334 InterpreterOopMap oop_mask; |
335 // Get oopmap describing oops and int for current bci | 335 // Get oopmap describing oops and int for current bci |
336 if (TraceDeoptimization && Verbose) { | 336 if ((TraceDeoptimization && Verbose) GRAAL_ONLY( || PrintDeoptimizationDetails)) { |
337 methodHandle m_h(method()); | 337 methodHandle m_h(method()); |
338 OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask); | 338 OopMapCache::compute_one_oop_map(m_h, bci(), &oop_mask); |
339 } else { | 339 } else { |
340 method()->mask_for(bci(), &oop_mask); | 340 method()->mask_for(bci(), &oop_mask); |
341 } | 341 } |