flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-12189) Fix bugs and typos in memory management related code
Date Mon, 15 Apr 2019 07:07:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-12189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

ASF GitHub Bot updated FLINK-12189:
    Labels: pull-request-available  (was: )

> Fix bugs and typos in memory management related code
> ----------------------------------------------------
>                 Key: FLINK-12189
>                 URL: https://issues.apache.org/jira/browse/FLINK-12189
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Operators
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Major
>              Labels: pull-request-available
> There are some bugs and typos in the memory related source code. For example,
>  # In MemoryManager.release method, it should throw an NPE, if the input is null. But
it does not. 
>  # In HybridMemorySegment.put and get methods, the number of bytes read/written should
be specified by the input parameter, rather than reading/writing until the end.
>  # In HeapMemorySegment, the data member memory should be returned. This is because the
member heapArray will not be reset to null after calling the release method.

This message was sent by Atlassian JIRA

View raw message