8223437: Backout JDK-8219974 Restore static callsite resolution for the current class

Reviewed-by: jwilhelm, vlivanov
This commit is contained in:
David Holmes 2019-05-07 17:33:19 -04:00
parent 9e2784b24f
commit b0d52bcca1
4 changed files with 23 additions and 44 deletions

View file

@ -230,16 +230,14 @@ class ConstantPoolCacheEntry {
Bytecodes::Code invoke_code, // the bytecode used for invoking the method
const methodHandle& method, // the method/prototype if any (NULL, otherwise)
int vtable_index, // the vtable index if any, else negative
bool sender_is_interface, // 'logical' sender (may be host of VMAC)
InstanceKlass* pool_holder // class from which the call is made
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
const methodHandle& method, // the method to call
bool sender_is_interface, // 'logical' sender (may be host of VMAC)
InstanceKlass* pool_holder // class from which the call is made
bool sender_is_interface
);
void set_vtable_call( // sets entry to vtable index