Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/vframeArray.hpp @ 3369:3d2ab563047a
7043461: VM crashes in void LinkResolver::runtime_resolve_virtual_method
Reviewed-by: kvn, coleenp
author | never |
---|---|
date | Thu, 12 May 2011 10:29:02 -0700 |
parents | f95d63e2154a |
children | f6f3bb0ee072 |
comparison
equal
deleted
inserted
replaced
3365:3cfb240033d1 | 3369:3d2ab563047a |
---|---|
81 // Formerly part of deoptimizedVFrame | 81 // Formerly part of deoptimizedVFrame |
82 | 82 |
83 | 83 |
84 // Returns the on stack word size for this frame | 84 // Returns the on stack word size for this frame |
85 // callee_parameters is the number of callee locals residing inside this frame | 85 // callee_parameters is the number of callee locals residing inside this frame |
86 int on_stack_size(int callee_parameters, | 86 int on_stack_size(int caller_actual_parameters, |
87 int callee_parameters, | |
87 int callee_locals, | 88 int callee_locals, |
88 bool is_top_frame, | 89 bool is_top_frame, |
89 int popframe_extra_stack_expression_els) const; | 90 int popframe_extra_stack_expression_els) const; |
90 | 91 |
91 // Unpacks the element to skeletal interpreter frame | 92 // Unpacks the element to skeletal interpreter frame |
92 void unpack_on_stack(int callee_parameters, | 93 void unpack_on_stack(int caller_actual_parameters, |
94 int callee_parameters, | |
93 int callee_locals, | 95 int callee_locals, |
94 frame* caller, | 96 frame* caller, |
95 bool is_top_frame, | 97 bool is_top_frame, |
96 int exec_mode); | 98 int exec_mode); |
97 | 99 |
188 | 190 |
189 // Returns the size of the frame that got deoptimized | 191 // Returns the size of the frame that got deoptimized |
190 int frame_size() const { return _frame_size; } | 192 int frame_size() const { return _frame_size; } |
191 | 193 |
192 // Unpack the array on the stack passed in stack interval | 194 // Unpack the array on the stack passed in stack interval |
193 void unpack_to_stack(frame &unpack_frame, int exec_mode); | 195 void unpack_to_stack(frame &unpack_frame, int exec_mode, int caller_actual_parameters); |
194 | 196 |
195 // Deallocates monitor chunks allocated during deoptimization. | 197 // Deallocates monitor chunks allocated during deoptimization. |
196 // This should be called when the array is not used anymore. | 198 // This should be called when the array is not used anymore. |
197 void deallocate_monitor_chunks(); | 199 void deallocate_monitor_chunks(); |
198 | 200 |