I3SDCU: Memory leak in appendBootClassPath
This commit is contained in:
parent
23108d67a9
commit
d192fec680
12
8266187_Memory_leak_in_appendBootClassPath.patch
Executable file
12
8266187_Memory_leak_in_appendBootClassPath.patch
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/jdk/src/share/instrument/InvocationAdapter.c b/jdk/src/share/instrument/InvocationAdapter.c
|
||||||
|
index 5aa189b0..b06cf5cb 100644
|
||||||
|
--- a/jdk/src/share/instrument/InvocationAdapter.c
|
||||||
|
+++ b/jdk/src/share/instrument/InvocationAdapter.c
|
||||||
|
@@ -829,6 +829,7 @@ appendBootClassPath( JPLISAgent* agent,
|
||||||
|
|
||||||
|
resolved = resolve(parent, path);
|
||||||
|
jvmtierr = (*jvmtienv)->AddToBootstrapClassLoaderSearch(jvmtienv, resolved);
|
||||||
|
+ free(resolved);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* print warning if boot class path not updated */
|
||||||
@ -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: 20
|
Release: 3
|
||||||
# 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
|
||||||
@ -1102,6 +1102,7 @@ Patch185: update-cacerts-and-VerifyCACerts.java-test.patch
|
|||||||
Patch186: update-to-keep-same-with-master.patch
|
Patch186: update-to-keep-same-with-master.patch
|
||||||
Patch187: 8182036.patch
|
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
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
#
|
#
|
||||||
@ -1550,6 +1551,7 @@ pushd %{top_level_dir_name}
|
|||||||
%patch186 -p1
|
%patch186 -p1
|
||||||
%patch187 -p1
|
%patch187 -p1
|
||||||
%patch188 -p1
|
%patch188 -p1
|
||||||
|
%patch189 -p1
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -2167,6 +2169,9 @@ require "copy_jdk_configs.lua"
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 20 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.2
|
||||||
|
- add 8266187_Memory_leak_in_appendBootClassPath.patch
|
||||||
|
|
||||||
* Fri May 20 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.1
|
* Fri May 20 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.1
|
||||||
- add 8247691_incorrect_handling_of_VM_exceptions_in_C1_deopt_stub.patch
|
- add 8247691_incorrect_handling_of_VM_exceptions_in_C1_deopt_stub.patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user