Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/oops/cpCache.hpp Tue Dec 13 10:07:12 2016 -0800 +++ b/src/share/vm/oops/cpCache.hpp Tue Dec 13 14:37:04 2016 -0500 @@ -229,13 +229,15 @@ void set_direct_or_vtable_call( Bytecodes::Code invoke_code, // the bytecode used for invoking the method methodHandle method, // the method/prototype if any (NULL, otherwise) - int vtable_index // the vtable index if any, else negative + int vtable_index, // the vtable index if any, else negative + bool sender_is_interface ); public: void set_direct_call( // sets entry to exact concrete method entry Bytecodes::Code invoke_code, // the bytecode used for invoking the method - methodHandle method // the method to call + methodHandle method, // the method to call + bool sender_is_interface ); void set_vtable_call( // sets entry to vtable index