8219492: Restore static callsite resolution for the current class

Reviewed-by: redestad, lfoltan, vlivanov
This commit is contained in:
David Holmes 2019-02-28 18:28:23 -05:00
parent a91eebcd1e
commit b5f55fadff
4 changed files with 36 additions and 19 deletions

View file

@ -230,14 +230,16 @@ 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
bool sender_is_interface, // 'logical' sender (may be host of VMAC)
InstanceKlass* pool_holder // class from which the call is made
);
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
bool sender_is_interface, // 'logical' sender (may be host of VMAC)
InstanceKlass* pool_holder // class from which the call is made
);
void set_vtable_call( // sets entry to vtable index