227 |
227 |
228 private: |
228 private: |
229 void set_direct_or_vtable_call( |
229 void set_direct_or_vtable_call( |
230 Bytecodes::Code invoke_code, // the bytecode used for invoking the method |
230 Bytecodes::Code invoke_code, // the bytecode used for invoking the method |
231 methodHandle method, // the method/prototype if any (NULL, otherwise) |
231 methodHandle method, // the method/prototype if any (NULL, otherwise) |
232 int vtable_index // the vtable index if any, else negative |
232 int vtable_index, // the vtable index if any, else negative |
|
233 bool sender_is_interface |
233 ); |
234 ); |
234 |
235 |
235 public: |
236 public: |
236 void set_direct_call( // sets entry to exact concrete method entry |
237 void set_direct_call( // sets entry to exact concrete method entry |
237 Bytecodes::Code invoke_code, // the bytecode used for invoking the method |
238 Bytecodes::Code invoke_code, // the bytecode used for invoking the method |
238 methodHandle method // the method to call |
239 methodHandle method, // the method to call |
|
240 bool sender_is_interface |
239 ); |
241 ); |
240 |
242 |
241 void set_vtable_call( // sets entry to vtable index |
243 void set_vtable_call( // sets entry to vtable index |
242 Bytecodes::Code invoke_code, // the bytecode used for invoking the method |
244 Bytecodes::Code invoke_code, // the bytecode used for invoking the method |
243 methodHandle method, // resolved method which declares the vtable index |
245 methodHandle method, // resolved method which declares the vtable index |