!156 I3T9AX: 8264640 CMS ParScanClosure misses a barrier
From: @kuenking111 Reviewed-by: @jvmboy Signed-off-by: @jvmboy
This commit is contained in:
commit
76de1fa121
20
8264640.patch
Executable file
20
8264640.patch
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
diff --git a/hotspot/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp b/hotspot/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp
|
||||||
|
index 2a3e32071..887e47216 100644
|
||||||
|
--- a/hotspot/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp
|
||||||
|
+++ b/hotspot/src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp
|
||||||
|
@@ -38,6 +38,7 @@ template <class T> inline void ParScanWeakRefClosure::do_oop_work(T* p) {
|
||||||
|
// we need to ensure that it is copied (see comment in
|
||||||
|
// ParScanClosure::do_oop_work).
|
||||||
|
Klass* objK = obj->klass();
|
||||||
|
+ OrderAccess::loadload();
|
||||||
|
markOop m = obj->mark();
|
||||||
|
oop new_obj;
|
||||||
|
if (m->is_marked()) { // Contains forwarding pointer.
|
||||||
|
@@ -101,6 +102,7 @@ inline void ParScanClosure::do_oop_work(T* p,
|
||||||
|
// overwritten with an overflow next pointer after the object is
|
||||||
|
// forwarded.
|
||||||
|
Klass* objK = obj->klass();
|
||||||
|
+ OrderAccess::loadload();
|
||||||
|
markOop m = obj->mark();
|
||||||
|
oop new_obj;
|
||||||
|
if (m->is_marked()) { // Contains forwarding pointer.
|
||||||
@ -921,7 +921,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r
|
|||||||
|
|
||||||
Name: java-%{javaver}-%{origin}
|
Name: java-%{javaver}-%{origin}
|
||||||
Version: %{javaver}.%{updatever}.%{buildver}
|
Version: %{javaver}.%{updatever}.%{buildver}
|
||||||
Release: 4
|
Release: 5
|
||||||
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
|
# 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
|
# 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
|
# also included the epoch in their virtual provides. This created a
|
||||||
@ -1104,6 +1104,7 @@ Patch187: 8182036.patch
|
|||||||
Patch188: 8247691_incorrect_handling_of_VM_exceptions_in_C1_deopt_stub.patch
|
Patch188: 8247691_incorrect_handling_of_VM_exceptions_in_C1_deopt_stub.patch
|
||||||
Patch189: 8266187_Memory_leak_in_appendBootClassPath.patch
|
Patch189: 8266187_Memory_leak_in_appendBootClassPath.patch
|
||||||
Patch190: 8266929_huawei_add_oid_mapping_common_sig_types.patch
|
Patch190: 8266929_huawei_add_oid_mapping_common_sig_types.patch
|
||||||
|
Patch191: 8264640.patch
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
#
|
#
|
||||||
@ -1554,6 +1555,7 @@ pushd %{top_level_dir_name}
|
|||||||
%patch188 -p1
|
%patch188 -p1
|
||||||
%patch189 -p1
|
%patch189 -p1
|
||||||
%patch190 -p1
|
%patch190 -p1
|
||||||
|
%patch191 -p1
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -2171,6 +2173,9 @@ require "copy_jdk_configs.lua"
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 27 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.4
|
||||||
|
- add 8264640.patch
|
||||||
|
|
||||||
* Fri May 20 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.3
|
* Fri May 20 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.3
|
||||||
- add 8266929_huawei_add_oid_mapping_common_sig_types.patch
|
- add 8266929_huawei_add_oid_mapping_common_sig_types.patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user