comparison src/cpu/sparc/vm/frame_sparc.cpp @ 7176:59c790074993

8003635: NPG: AsynchGetCallTrace broken by Method* virtual call Summary: Make metaspace::contains be lock free and used to see if something is in metaspace, also compare Method* with vtbl pointer. Reviewed-by: dholmes, sspitsyn, dcubed, jmasa
author coleenp
date Wed, 28 Nov 2012 17:50:21 -0500
parents da91efe96a93
children ec2eddfed950
comparison
equal deleted inserted replaced
7175:b51dc8df86e5 7176:59c790074993
646 // first the method 646 // first the method
647 647
648 Method* m = *interpreter_frame_method_addr(); 648 Method* m = *interpreter_frame_method_addr();
649 649
650 // validate the method we'd find in this potential sender 650 // validate the method we'd find in this potential sender
651 if (!Universe::heap()->is_valid_method(m)) return false; 651 if (!m->is_valid_method()) return false;
652 652
653 // stack frames shouldn't be much larger than max_stack elements 653 // stack frames shouldn't be much larger than max_stack elements
654 654
655 if (fp() - sp() > 1024 + m->max_stack()*Interpreter::stackElementSize) { 655 if (fp() - sp() > 1024 + m->max_stack()*Interpreter::stackElementSize) {
656 return false; 656 return false;