zhangqianqiong has uploaded a new patch set (#3). ( http://gerrit.cloudera.org:8080/20175 )
Change subject: IMPALA-12274 Fix memory leak because of the local reference catalog was not released ...................................................................... IMPALA-12274 Fix memory leak because of the local reference catalog was not released In the constructor of the catalog class, after converting the catalog object created by NewObject to a global reference, the local reference was forgotten to be released, resulting in a minor memory leak. The solution is to use JniLocalFrame to automatically manage the local reference, ensuring proper memory management. Testing: manually test Change-Id: Ic93ea3270dcba3ad4903aa053cc283d4f700e948 --- M be/src/catalog/catalog.cc 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/20175/3 -- To view, visit http://gerrit.cloudera.org:8080/20175 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ic93ea3270dcba3ad4903aa053cc283d4f700e948 Gerrit-Change-Number: 20175 Gerrit-PatchSet: 3 Gerrit-Owner: zhangqianqiong <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: zhangqianqiong <[email protected]>
