I4VTCL: fix attempt_allocation_humongous hang in retry gc of collection
This commit is contained in:
parent
a2389843ff
commit
342eb7eafd
@ -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
|
||||
|
||||
@ -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 <wangkun49@huawei.com> - 1:1.8.0.322-b06.3
|
||||
- modified 8233280-Remove-GCLockerInvokesConcurrent-relative-logic-for-G1.patch
|
||||
|
||||
* Wed Feb 16 2022 kuenking111 <wangkun49@huawei.com> - 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user