Hello community,

here is the log from the commit of package java-1_8_0-openjdk for 
openSUSE:Factory checked in at 2020-11-06 23:44:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-1_8_0-openjdk (Old)
 and      /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "java-1_8_0-openjdk"

Fri Nov  6 23:44:06 2020 rev:75 rq:845986 version:1.8.0.272

Changes:
--------
--- /work/SRC/openSUSE:Factory/java-1_8_0-openjdk/java-1_8_0-openjdk.changes    
2020-11-02 09:38:15.853487341 +0100
+++ 
/work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new.11331/java-1_8_0-openjdk.changes
 2020-11-06 23:44:29.759333237 +0100
@@ -1,0 +2,20 @@
+Wed Nov  4 11:32:33 UTC 2020 - Fridrich Strba <[email protected]>
+
+- Enable Shenandoah garbage collector on supported architectures
+
+-------------------------------------------------------------------
+Mon Nov  2 16:04:46 UTC 2020 - Fridrich Strba <[email protected]>
+
+- Added patch:
+  * s390.patch
+    + Fix build on s390 31bit
+
+-------------------------------------------------------------------
+Mon Nov  2 14:29:43 UTC 2020 - Fridrich Strba <[email protected]>
+
+- Added patch:
+  * JDK-8250861.patch
+    + Fix regression "8250861: Crash in MinINode::Ideal(PhaseGVN*,
+      bool)" introduced in October 2020 CPU
+
+-------------------------------------------------------------------

New:
----
  JDK-8250861.patch
  s390.patch
  shenandoah.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ java-1_8_0-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.MlpuRf/_old  2020-11-06 23:44:30.999330853 +0100
+++ /var/tmp/diff_new_pack.MlpuRf/_new  2020-11-06 23:44:31.003330845 +0100
@@ -146,6 +146,7 @@
 %else
 %global with_systemtap 0
 %endif
+%global with_shenandoah 1
 %if %{with_systemtap}
 # Where to install systemtap tapset (links)
 # We would like these to be in a package specific subdir,
@@ -175,7 +176,8 @@
 Source7:        
http://icedtea.wildebeest.org/download/drops/icedtea8/%{icedtea_version}/langtools.tar.xz
 Source8:        
http://icedtea.wildebeest.org/download/drops/icedtea8/%{icedtea_version}/hotspot.tar.xz
 Source9:        
http://icedtea.wildebeest.org/download/drops/icedtea8/%{icedtea_version}/aarch32.tar.xz
-Source10:       
http://icedtea.wildebeest.org/download/drops/icedtea8/%{icedtea_version}/nashorn.tar.xz
+Source10:       
http://icedtea.wildebeest.org/download/drops/icedtea8/%{icedtea_version}/shenandoah.tar.xz
+Source11:       
http://icedtea.wildebeest.org/download/drops/icedtea8/%{icedtea_version}/nashorn.tar.xz
 # RPM/distribution specific patches
 # RHBZ 1015432
 Patch2:         1015432.patch
@@ -190,6 +192,10 @@
 #
 # Patch for PPC
 Patch103:       ppc-zero-hotspot.patch
+# Patch for S390
+Patch104:       s390.patch
+#
+Patch200:       JDK-8250861.patch
 
 Patch1001:      java-1_8_0-openjdk-suse-desktop-files.patch
 Patch1002:      icedtea-3.8.0-s390.patch
@@ -507,9 +513,14 @@
 %ifarch %{arm}
         --with-hotspot-src-zip=%{SOURCE9} \
 %else
+%if %{with zero} || %{without shenandoah}
         --with-hotspot-src-zip=%{SOURCE8} \
+%else
+        --with-hotspot-src-zip=%{SOURCE10} \
+        --with-hotspot-build=shenandoah \
 %endif
-        --with-nashorn-src-zip=%{SOURCE10}
+%endif
+        --with-nashorn-src-zip=%{SOURCE11}
 
 make patch %{?_smp_mflags}
 
@@ -526,6 +537,12 @@
 patch -p0 -i %{PATCH103}
 %endif
 
+%ifarch s390
+patch -p0 -i %{PATCH104}
+%endif
+
+patch -p0 -i %{PATCH200}
+
 patch -p0 -i %{PATCH2001}
 patch -p0 -i %{PATCH2002}
 

++++++ JDK-8250861.patch ++++++
--- openjdk/hotspot/src/share/vm/opto/addnode.cpp       Fri Oct 30 08:13:31 
2020 +0000
+++ openjdk/hotspot/src/share/vm/opto/addnode.cpp       Thu Aug 06 08:10:56 
2020 +0200
@@ -918,7 +918,7 @@
 
     // Transform MIN2(x + c0, MIN2(x + c1, z)) into MIN2(x + MIN2(c0, c1), z)
     // if x == y and the additions can't overflow.
-    if (phase->eqv(x,y) &&
+    if (phase->eqv(x,y) && tx != NULL &&
         !can_overflow(tx, x_off) &&
         !can_overflow(tx, y_off)) {
       return new (phase->C) MinINode(phase->transform(new (phase->C) 
AddINode(x, phase->intcon(MIN2(x_off, y_off)))), r->in(2));
@@ -926,7 +926,7 @@
   } else {
     // Transform MIN2(x + c0, y + c1) into x + MIN2(c0, c1)
     // if x == y and the additions can't overflow.
-    if (phase->eqv(x,y) &&
+    if (phase->eqv(x,y) && tx != NULL &&
         !can_overflow(tx, x_off) &&
         !can_overflow(tx, y_off)) {
       return new (phase->C) AddINode(x,phase->intcon(MIN2(x_off,y_off)));

++++++ s390.patch ++++++
--- 
openjdk/hotspot/src/share/vm/gc_implementation/g1/g1ConcurrentMarkObjArrayProcessor.cpp
     2020-11-02 16:54:31.999787520 +0100
+++ 
openjdk/hotspot/src/share/vm/gc_implementation/g1/g1ConcurrentMarkObjArrayProcessor.cpp
     2020-11-02 16:59:27.993852851 +0100
@@ -41,7 +41,7 @@
 }
 
 size_t G1CMObjArrayProcessor::process_array_slice(objArrayOop obj, HeapWord* 
start_from, size_t remaining) {
-  size_t words_to_scan = MIN2(remaining, ObjArrayMarkingStride);
+  size_t words_to_scan = MIN2(remaining, (size_t) ObjArrayMarkingStride);
 
   if (remaining > ObjArrayMarkingStride) {
     push_array_slice(start_from + ObjArrayMarkingStride);

Reply via email to