diff src/share/vm/runtime/deoptimization.cpp @ 8727:0094485b46c7

8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates Summary: deoptimization doesn't set up callee frames so that they restore caller frames correctly. Reviewed-by: kvn
author roland
date Wed, 13 Mar 2013 09:44:45 +0100
parents 6a51fc70a15e
children b9a918201d47 28e5aed7f3a6 d2907f74462e
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp	Fri Mar 08 08:22:18 2013 -0800
+++ b/src/share/vm/runtime/deoptimization.cpp	Wed Mar 13 09:44:45 2013 +0100
@@ -425,6 +425,7 @@
                                                                                                     callee_parameters,
                                                                                                     callee_locals,
                                                                                                     index == 0,
+                                                                                                    index == array->frames() - 1,
                                                                                                     popframe_extra_args);
     // This pc doesn't have to be perfect just good enough to identify the frame
     // as interpreted so the skeleton frame will be walkable