e0121aeccf
Remove patches included upstream - JDK-8031668/PR2842 - JDK-8148351/PR2842 - JDK-6260348/PR3066 - JDK-8061305/PR3335/RH1423421 - JDK-8188030/PR3459/RH1484079 - JDK-8205104/PR3539/RH1548475 - JDK-8185723/PR3553 - JDK-8186461/PR3557 - JDK-8201509/PR3579 - JDK-8075942/PR3602 - JDK-8203182/PR3603 - JDK-8206406/PR3610/RH1597825 - JDK-8206425 - JDK-8036003 - JDK-8201495/PR2415 - JDK-8150954/PR2866/RH1176206 Re-generate patches (mostly due to upstream build changes) - JDK-8073139/PR1758/RH1191652 - JDK-8143245/PR3548 (due to JDK-8202600) - JDK-8197429/PR3546/RH1536622 (due to JDK-8189170) - JDK-8199936/PR3533 - JDK-8199936/PR3591 - JDK-8207057/PR3613 - JDK-8210761/RH1632174 (due to JDK-8207402) - PR3559 (due to JDK-8185723/JDK-8186461/JDK-8201509) - PR3593 (due to JDK-8081202) - RH1566890/CVE-2018-3639 (due to JDK-8189170) - RH1649664 (due to JDK-8196516)
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
# HG changeset patch
|
|
# User aph
|
|
# Date 1338206478 14400
|
|
# Mon May 28 08:01:18 2012 -0400
|
|
# Node ID 6275d7b419091092752d5a1854194c98897892ba
|
|
# Parent be1379a186ba527b32c93a83e04c9600735fe44b
|
|
PR3559: Use ldrexd for atomic reads on ARMv7.
|
|
|
|
2012-05-28 Andrew Haley <aph@redhat.com>
|
|
|
|
* os_linux_zero.hpp (atomic_copy64): Use ldrexd for atomic reads
|
|
on ARMv7.
|
|
|
|
diff --git openjdk.orig/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.hpp openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.hpp
|
|
--- openjdk.orig/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.hpp
|
|
+++ openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.hpp
|
|
@@ -54,6 +54,12 @@
|
|
"std %0, %1\n"
|
|
: "=&f"(tmp), "=Q"(*(volatile double*)dst)
|
|
: "Q"(*(volatile double*)src));
|
|
+#elif defined(__ARM_ARCH_7A__)
|
|
+ jlong tmp;
|
|
+ asm volatile ("ldrexd %0, [%1]\n"
|
|
+ : "=r"(tmp)
|
|
+ : "r"(src), "m"(src));
|
|
+ *(jlong *) dst = tmp;
|
|
#else
|
|
*(jlong *) dst = *(jlong *) src;
|
|
#endif
|