Accepting request 742226 from Java:Factory

Add patch to fix boo#1138529

OBS-URL: https://build.opensuse.org/request/show/742226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-1_8_0-openjdk?expand=0&rev=66
This commit is contained in:
Dominique Leuenberger 2019-10-28 15:46:16 +00:00 committed by Git OBS Bridge
commit bc83d3d094
3 changed files with 31 additions and 0 deletions

13
hotspot-aarch64.patch Normal file
View File

@ -0,0 +1,13 @@
--- openjdk/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp 2019-05-24 21:46:57.000000000 +0200
+++ openjdk/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp 2019-10-17 12:04:06.232646618 +0200
@@ -3281,8 +3281,8 @@ void LIR_Assembler::atomic_op(LIR_Code c
__ prfm(Address(tmp), PSTL1STRM);
__ bind(again);
(_masm->*lda)(dst, tmp);
- (_masm->*stl)(rscratch2, obj, tmp);
- __ cbnzw(rscratch2, again);
+ (_masm->*stl)(rscratch1, obj, tmp);
+ __ cbnzw(rscratch1, again);
}
if (is_oop && UseCompressedOops) {
__ decode_heap_oop(dst);

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 21 06:41:23 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Apply hotspot-aarch64.patch only for aarch64, as some other
archs (armv6/7) use other hotspot sources
-------------------------------------------------------------------
Thu Oct 17 10:07:15 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add patch to fix boo#1138529:
* hotspot-aarch64.patch
-------------------------------------------------------------------
Fri Jul 19 06:28:01 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -190,6 +190,8 @@ Patch14: zero-javadoc-verbose.patch
#
# Patch for PPC
Patch103: ppc-zero-hotspot.patch
# Patch for aarch64
Patch104: hotspot-aarch64.patch
Patch1001: java-1_8_0-openjdk-suse-desktop-files.patch
Patch1002: icedtea-3.8.0-s390.patch
@ -523,6 +525,10 @@ patch -p0 -i %{PATCH14}
patch -p0 -i %{PATCH103}
%endif
%ifarch aarch64
patch -p0 -i %{PATCH104}
%endif
patch -p0 -i %{PATCH2001}
(cd openjdk/common/autoconf