8163962: [JVMCI] integrate VarHandles
Add VarHandle support to JVMCI Reviewed-by: psandoz, iveresov
This commit is contained in:
parent
19d25373bf
commit
72dcc9193e
@ -342,7 +342,7 @@ methodHandle JVMCIEnv::get_method_by_index_impl(const constantPoolHandle& cpool,
|
||||
Symbol* sig_sym = cpool->signature_ref_at(index);
|
||||
|
||||
if (cpool->has_preresolution()
|
||||
|| (holder() == SystemDictionary::MethodHandle_klass() &&
|
||||
|| ((holder() == SystemDictionary::MethodHandle_klass() || holder() == SystemDictionary::VarHandle_klass()) &&
|
||||
MethodHandles::is_signature_polymorphic_name(holder(), name_sym))) {
|
||||
// Short-circuit lookups for JSR 292-related call sites.
|
||||
// That is, do not rely only on name-based lookups, because they may fail
|
||||
|
Loading…
x
Reference in New Issue
Block a user