Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leaks in JNI native code. #10029

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

mythrocks
Copy link
Contributor

This commit fixes a couple of minor, host-side memory leaks
in the JNI native code. The objects in question did not need
to go on the heap. They have, in this commit, been switched to
stack objects.

This commit fixes a couple of minor, host-side memory leaks
in the JNI native code. The objects in question did not need
to go on the heap. They have been switched to stack objects.
@mythrocks mythrocks requested a review from a team as a code owner January 12, 2022 22:52
@mythrocks mythrocks self-assigned this Jan 12, 2022
@github-actions github-actions bot added the Java Affects Java cuDF API. label Jan 12, 2022
@mythrocks mythrocks added bug Something isn't working non-breaking Non-breaking change and removed Java Affects Java cuDF API. labels Jan 12, 2022
Copy link
Member

@jlowe jlowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor copyright update issue. Assuming that gets fixed, lgtm.

@jlowe jlowe added the Java Affects Java cuDF API. label Jan 12, 2022
@mythrocks
Copy link
Contributor Author

Thanks for the review, @jlowe. I'll merge this after CI passes.

@codecov
Copy link

codecov bot commented Jan 13, 2022

Codecov Report

Merging #10029 (69461b5) into branch-22.02 (967a333) will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##           branch-22.02   #10029      +/-   ##
================================================
- Coverage         10.49%   10.41%   -0.08%     
================================================
  Files               119      119              
  Lines             20305    20498     +193     
================================================
+ Hits               2130     2134       +4     
- Misses            18175    18364     +189     
Impacted Files Coverage Δ
python/custreamz/custreamz/kafka.py 29.16% <0.00%> (-0.63%) ⬇️
python/dask_cudf/dask_cudf/sorting.py 92.30% <0.00%> (-0.61%) ⬇️
python/cudf/cudf/__init__.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/index.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/parquet.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/series.py 0.00% <0.00%> (ø)
python/cudf/cudf/utils/utils.py 0.00% <0.00%> (ø)
python/cudf/cudf/utils/dtypes.py 0.00% <0.00%> (ø)
python/cudf/cudf/utils/ioutils.py 0.00% <0.00%> (ø)
... and 20 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8c4816...69461b5. Read the comment docs.

@jlowe
Copy link
Member

jlowe commented Jan 13, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit fe71bab into rapidsai:branch-22.02 Jan 13, 2022
@mythrocks mythrocks deleted the memleaks-jni branch January 13, 2022 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Java Affects Java cuDF API. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants