Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/cpCache.hpp @ 24170:0b85ccd62409 jdk8u131-b01
8168699: Validate special case invocations
Reviewed-by: kevinw, vlivanov
author | coleenp |
---|---|
date | Tue, 13 Dec 2016 14:37:04 -0500 |
parents | 32b682649973 |
children | 719853999215 |
comparison
equal
deleted
inserted
replaced
24169:5ee58c7d3938 | 24170:0b85ccd62409 |
---|---|
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 |