Skip to content

KYLIN-4131 Fix Broadcaster memory leak#799

Merged
nichunen merged 1 commit intoapache:masterfrom
Wayne1c:fix_memory_leak
Aug 15, 2019
Merged

KYLIN-4131 Fix Broadcaster memory leak#799
nichunen merged 1 commit intoapache:masterfrom
Wayne1c:fix_memory_leak

Conversation

@Wayne1c
Copy link

@Wayne1c Wayne1c commented Aug 12, 2019

No description provided.

@Wayne1c
Copy link
Author

Wayne1c commented Aug 12, 2019

CI passed

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@abc0ab8). Click here to learn what that means.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #799   +/-   ##
=========================================
  Coverage          ?   25.72%           
  Complexity        ?     6047           
=========================================
  Files             ?     1394           
  Lines             ?    83122           
  Branches          ?    11635           
=========================================
  Hits              ?    21383           
  Misses            ?    59686           
  Partials          ?     2053
Impacted Files Coverage Δ Complexity Δ
...main/java/org/apache/kylin/common/KylinConfig.java 39.53% <0%> (ø) 27 <0> (?)
...g/apache/kylin/metadata/cachesync/Broadcaster.java 52% <50%> (ø) 23 <1> (?)

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 abc0ab8...e1bbc95. Read the comment docs.


package org.apache.kylin.common;

public interface Closeable {
Copy link
Member

Choose a reason for hiding this comment

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

In my view, I suggest use java.io.Closeable instead. This interface looks needless.

Copy link
Author

Choose a reason for hiding this comment

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

Because there is no IO operation and do not need throw IOException.

Copy link

@nichunen nichunen left a comment

Choose a reason for hiding this comment

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

LGTM

@nichunen nichunen merged commit 1942729 into apache:master Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants