From 342eb7eafd472a4196c32e003785d80af07aee1d Mon Sep 17 00:00:00 2001 From: kuenking111 Date: Tue, 1 Mar 2022 17:26:31 +0800 Subject: [PATCH] I4VTCL: fix attempt_allocation_humongous hang in retry gc of collection --- ...erInvokesConcurrent-relative-logic-for-G1.patch | 14 ++------------ openjdk-1.8.0.spec | 5 ++++- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/8233280-Remove-GCLockerInvokesConcurrent-relative-logic-for-G1.patch b/8233280-Remove-GCLockerInvokesConcurrent-relative-logic-for-G1.patch index 2ad9973..4a5b89c 100755 --- a/8233280-Remove-GCLockerInvokesConcurrent-relative-logic-for-G1.patch +++ b/8233280-Remove-GCLockerInvokesConcurrent-relative-logic-for-G1.patch @@ -5,9 +5,9 @@ Subject: [PATCH 2/4] 8233280: Remove GCLockerInvokesConcurrent relative logic for G1 --- - .../src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp | 4 ---- + .../src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp | 1 ---- .../src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp | 5 ++--- - 2 files changed, 2 insertions(+), 7 deletions(-) + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp b/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp index 4f45bba52..060531901 100644 @@ -21,16 +21,6 @@ index 4f45bba52..060531901 100644 case GCCause::_g1_humongous_allocation: return true; case GCCause::_g1_periodic_collection: return true; default: return is_user_requested_concurrent_full_gc(cause); -@@ -2583,9 +2582,6 @@ void G1CollectedHeap::collect(GCCause::Cause cause) { - gclog_or_tty->print_cr("Periodic GC is denied and not try !"); - return; - } -- if (GC_locker::is_active_and_needs_gc()) { -- GC_locker::stall_until_clear(); -- } - } - } - } else if (GC_locker::should_discard(cause, gc_count_before)) { diff --git a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp b/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp index d83e6cb65..3225967b3 100644 --- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp diff --git a/openjdk-1.8.0.spec b/openjdk-1.8.0.spec index 2282f49..a5de8bf 100644 --- a/openjdk-1.8.0.spec +++ b/openjdk-1.8.0.spec @@ -916,7 +916,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r Name: java-%{javaver}-%{origin} Version: %{javaver}.%{updatever}.%{buildver} -Release: 2 +Release: 3 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -2229,6 +2229,9 @@ require "copy_jdk_configs.lua" %endif %changelog +* Thu Mar 1 2022 kuenking111 - 1:1.8.0.322-b06.3 +- modified 8233280-Remove-GCLockerInvokesConcurrent-relative-logic-for-G1.patch + * Wed Feb 16 2022 kuenking111 - 1:1.8.0.322-b06.2 - add add-system-property-swing.JComboBox.useLegacyMode.patch - add debuginfo.diz-should-not-contain-the-path-after-unzip.patch