Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vframe.cpp @ 4668:3dbcd1013cc8
added flag PrintDeoptimizationDetails
changes so that TraceDeoptimization only prints basic information
added nicer formatting for printing interpreter stack frames
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Tue, 21 Feb 2012 16:05:46 -0800 |
parents | 35b2cae45dc5 |
children | a6d18567b2ff |
comparison
equal
deleted
inserted
replaced
4667:35b2cae45dc5 | 4668:3dbcd1013cc8 |
---|---|
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 (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 (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 } |