hotspot/src/cpu/sparc/vm/frame_sparc.cpp
changeset 5419 f2e8cc8c12ea
parent 4752 67a506670cd0
child 5687 b862d1f189bd
child 5547 f4b087cbb361
equal deleted inserted replaced
5418:c4955cb6ed33 5419:f2e8cc8c12ea
   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