Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vframe.cpp @ 8151:b8f261ba79c6
Minimize diff to plain HotSpot version.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Mar 2013 21:00:29 +0100 |
parents | 2cb439954abf |
children | b9a918201d47 |
comparison
equal
deleted
inserted
replaced
8150:b66f831ac5ab | 8151:b8f261ba79c6 |
---|---|
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 (PrintDeoptimizationDetails) { | 269 if (TraceDeoptimization && Verbose) { |
270 methodHandle m_h(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 } |
275 // handle locals | 275 // handle locals |
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 (PrintDeoptimizationDetails) { | 336 if (TraceDeoptimization && Verbose) { |
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 } |