equal
deleted
inserted
replaced
618 // validate the method we'd find in this potential sender |
618 // validate the method we'd find in this potential sender |
619 if (!Universe::heap()->is_valid_method(m)) return false; |
619 if (!Universe::heap()->is_valid_method(m)) return false; |
620 |
620 |
621 // stack frames shouldn't be much larger than max_stack elements |
621 // stack frames shouldn't be much larger than max_stack elements |
622 |
622 |
623 if (fp() - sp() > 1024 + m->max_stack()*Interpreter::stackElementSize()) { |
623 if (fp() - sp() > 1024 + m->max_stack()*Interpreter::stackElementSize) { |
624 return false; |
624 return false; |
625 } |
625 } |
626 |
626 |
627 // validate bci/bcx |
627 // validate bci/bcx |
628 |
628 |