29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
Date: Mon, 5 Jun 2023 20:39:01 +0800
|
|
Subject: [PATCH 13/59] 8287349: AArch64: Merge LDR instructions to improve C1 OSR performance
|
|
|
|
Bug url: https://bugs.openjdk.org/browse/JDK-8287349
|
|
---
|
|
hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
|
|
index 528eeae32..22dfd1008 100644
|
|
--- a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
|
|
+++ b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp
|
|
@@ -292,10 +292,9 @@ void LIR_Assembler::osr_entry() {
|
|
__ bind(L);
|
|
}
|
|
#endif
|
|
- __ ldr(r19, Address(OSR_buf, slot_offset + 0));
|
|
+ __ ldp(r19, r20, Address(OSR_buf, slot_offset));
|
|
__ str(r19, frame_map()->address_for_monitor_lock(i));
|
|
- __ ldr(r19, Address(OSR_buf, slot_offset + 1*BytesPerWord));
|
|
- __ str(r19, frame_map()->address_for_monitor_object(i));
|
|
+ __ str(r20, frame_map()->address_for_monitor_object(i));
|
|
}
|
|
}
|
|
}
|
|
--
|
|
2.22.0
|
|
|