108 static address entry_for_method(methodHandle m) { return _entry_table[method_kind(m)]; } 109 110 static void print_method_kind(MethodKind kind) PRODUCT_RETURN; 111 112 // Runtime support 113 114 // length = invoke bytecode length (to advance to next bytecode) 115 static address deopt_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } 116 static address return_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } 117 118 static address rethrow_exception_entry() { return _rethrow_exception_entry; } 119 120 // Activation size in words for a method that is just being called. 121 // Parameters haven't been pushed so count them too. 122 static int size_top_interpreter_activation(methodOop method); 123 124 // Deoptimization support 125 static address continuation_for(methodOop method, 126 address bcp, 127 int callee_parameters, 128 bool is_top_frame, 129 bool& use_next_mdp); 130 131 // share implementation of size_activation and layout_activation: 132 static int size_activation(methodOop method, 133 int temps, 134 int popframe_args, 135 int monitors, 136 int callee_params, 137 int callee_locals, 138 bool is_top_frame); 139 140 static int layout_activation(methodOop method, 141 int temps, 142 int popframe_args, 143 int monitors, 144 int callee_params, 145 int callee_locals, 146 frame* caller, 147 frame* interpreter_frame, 148 bool is_top_frame); 149 150 // Runtime support | 108 static address entry_for_method(methodHandle m) { return _entry_table[method_kind(m)]; } 109 110 static void print_method_kind(MethodKind kind) PRODUCT_RETURN; 111 112 // Runtime support 113 114 // length = invoke bytecode length (to advance to next bytecode) 115 static address deopt_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } 116 static address return_entry (TosState state, int length) { ShouldNotReachHere(); return NULL; } 117 118 static address rethrow_exception_entry() { return _rethrow_exception_entry; } 119 120 // Activation size in words for a method that is just being called. 121 // Parameters haven't been pushed so count them too. 122 static int size_top_interpreter_activation(methodOop method); 123 124 // Deoptimization support 125 static address continuation_for(methodOop method, 126 address bcp, 127 int callee_parameters, 128 bool is_top_frame); 129 130 // Deoptimization should reexecute these bytecodes 131 static bool bytecodes_to_reexecute(Bytecodes::Code code); 132 133 // Compute the address for reexecution 134 static address deopt_reexecute_entry(methodOop method, address bcp); 135 136 // share implementation of size_activation and layout_activation: 137 static int size_activation(methodOop method, 138 int temps, 139 int popframe_args, 140 int monitors, 141 int callee_params, 142 int callee_locals, 143 bool is_top_frame); 144 145 static int layout_activation(methodOop method, 146 int temps, 147 int popframe_args, 148 int monitors, 149 int callee_params, 150 int callee_locals, 151 frame* caller, 152 frame* interpreter_frame, 153 bool is_top_frame); 154 155 // Runtime support |