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