[
https://issues.apache.org/jira/browse/IMPALA-12102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17814219#comment-17814219
]
ASF subversion and git services commented on IMPALA-12102:
----------------------------------------------------------
Commit d1f0595efea9ea53e24cda2d66ba695bfefa879b in impala's branch
refs/heads/branch-3.4.2 from ttttttz
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d1f0595ef ]
IMPALA-12102: Avoid memory leaks in the handling of JNI exceptions
During the processing of JNI Exceptions, some local references
were not released in a timely manner, which may lead to memory
leaks in the JVM.
Testing:
- Manually verified that the memory leak doesn't occur in the
local development environment.
Change-Id: I4843df07dd0f9d3dc237f91db4ec00721ebbd680
Reviewed-on: http://gerrit.cloudera.org:8080/19810
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> The JniUtil::GetJniExceptionMsg() method has the risk of memory leakage when
> handling JNI exceptions
> ----------------------------------------------------------------------------------------------------
>
> Key: IMPALA-12102
> URL: https://issues.apache.org/jira/browse/IMPALA-12102
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 3.2.0, Impala 4.0.0, Impala 3.3.0, Impala 3.4.0,
> Impala 3.4.1, Impala 4.1.0, Impala 4.2.0, Impala 4.1.1, Impala 4.1.2
> Reporter: Zhi Tang
> Assignee: Zhi Tang
> Priority: Major
> Fix For: Impala 4.3.0
>
> Attachments: image-2023-04-26-20-46-55-583.png,
> image-2023-04-26-20-47-56-620.png
>
>
> When the JniUtil::GetJniExceptionMsg() method handles the JNI exceptions, the
> reference to the jstring object is not released in time, which may cause a
> memory leak problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]