Closed hubgeter closed 1 day ago
Thank you for your contribution to Apache Doris. Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:
run buildall
clang-tidy review says "All clean, LGTM! :+1:"
TeamCity be ut coverage result: Function Coverage: 38.02% (9899/26035) Line Coverage: 29.22% (82841/283540) Region Coverage: 28.34% (42521/150058) Branch Coverage: 24.90% (21563/86584) Coverage Report: http://coverage.selectdb-in.cc/coverage/2cbc1124bb708318ba8a5714386ab7fe143f481f_2cbc1124bb708318ba8a5714386ab7fe143f481f/report/index.html
PR approved by at least one committer and no changes requested.
PR approved by anyone and no changes requested.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #42507
Problem Summary: fix jvm metrics memory leak.
when you set
enable_jvm_monitor=true
in be.conf, you can find that be jvm memory is slowly growing. By analyzing the hprof file, we can find that there are a large number ofjava.lang.management.ThreadInfo
objects. The specific cause of the memory leak is: jni does not manually delete the local reference after getting the object from the array, resulting in the object not being GC.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)