hotspot/src/cpu/sparc/vm/frame_sparc.cpp
changeset 35071 a0910b1d3e0d
parent 31389 e0688be912e5
child 35214 d86005e0b4c2
--- a/hotspot/src/cpu/sparc/vm/frame_sparc.cpp	Fri Dec 11 13:18:10 2015 +0000
+++ b/hotspot/src/cpu/sparc/vm/frame_sparc.cpp	Fri Dec 11 09:07:07 2015 -0800
@@ -632,7 +632,7 @@
 
   // stack frames shouldn't be much larger than max_stack elements
 
-  if (fp() - sp() > 1024 + m->max_stack()*Interpreter::stackElementSize) {
+  if (fp() - unextended_sp() > 1024 + m->max_stack()*Interpreter::stackElementSize) {
     return false;
   }