mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
7053520: JSR292: crash in invokedynamic with C1 using tiered and compressed oops
Reviewed-by: iveresov, never
This commit is contained in:
parent
bb3a527f9a
commit
5919a613cc
1 changed files with 1 additions and 1 deletions
|
@ -2799,7 +2799,7 @@ void LIRGenerator::do_Invoke(Invoke* x) {
|
||||||
|
|
||||||
// Load CallSite object from constant pool cache.
|
// Load CallSite object from constant pool cache.
|
||||||
__ oop2reg(cpcache->constant_encoding(), tmp);
|
__ oop2reg(cpcache->constant_encoding(), tmp);
|
||||||
__ load(new LIR_Address(tmp, call_site_offset, T_OBJECT), tmp);
|
__ move_wide(new LIR_Address(tmp, call_site_offset, T_OBJECT), tmp);
|
||||||
|
|
||||||
// Load target MethodHandle from CallSite object.
|
// Load target MethodHandle from CallSite object.
|
||||||
__ load(new LIR_Address(tmp, java_lang_invoke_CallSite::target_offset_in_bytes(), T_OBJECT), receiver);
|
__ load(new LIR_Address(tmp, java_lang_invoke_CallSite::target_offset_in_bytes(), T_OBJECT), receiver);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue