comparison src/share/vm/code/nmethod.cpp @ 8501:41fc46da946a

-More fixes and passrate(fop)
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Wed, 06 Mar 2013 19:35:04 +0100
parents 826632227602
children 86b4965f0c9a
comparison
equal deleted inserted replaced
8500:992f62c457b0 8501:41fc46da946a
2473 CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops()); 2473 CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops());
2474 } else { 2474 } else {
2475 MutexLocker ml_verify (CompiledIC_lock); 2475 MutexLocker ml_verify (CompiledIC_lock);
2476 ic = CompiledIC_at(this, call_site); 2476 ic = CompiledIC_at(this, call_site);
2477 } 2477 }
2478
2478 PcDesc* pd = pc_desc_at(ic->end_of_call()); 2479 PcDesc* pd = pc_desc_at(ic->end_of_call());
2480 // if(pd!=NULL) {
2479 assert(pd != NULL, "PcDesc must exist"); 2481 assert(pd != NULL, "PcDesc must exist");
2480 for (ScopeDesc* sd = new ScopeDesc(this, pd->scope_decode_offset(), 2482 for (ScopeDesc* sd = new ScopeDesc(this, pd->scope_decode_offset(),
2481 pd->obj_decode_offset(), pd->should_reexecute(), pd->rethrow_exception(), 2483 pd->obj_decode_offset(), pd->should_reexecute(), pd->rethrow_exception(),
2482 pd->return_oop()); 2484 pd->return_oop());
2483 !sd->is_top(); sd = sd->sender()) { 2485 !sd->is_top(); sd = sd->sender()) {
2484 sd->verify(); 2486 sd->verify();
2485 } 2487 }
2488 //}
2486 } 2489 }
2487 2490
2488 void nmethod::verify_scopes() { 2491 void nmethod::verify_scopes() {
2489 if( !method() ) return; // Runtime stubs have no scope 2492 if( !method() ) return; // Runtime stubs have no scope
2490 if (method()->is_native()) return; // Ignore stub methods. 2493 if (method()->is_native()) return; // Ignore stub methods.