apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandesh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (APEXCORE-648) Unnecessary byte array copy in DefaultStatefulStreamCodec.toDataStatePair()
Date Thu, 23 Feb 2017 21:26:44 GMT

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

Sandesh resolved APEXCORE-648.
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.6.0

> Unnecessary byte array copy in DefaultStatefulStreamCodec.toDataStatePair()
> ---------------------------------------------------------------------------
>
>                 Key: APEXCORE-648
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-648
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Vlad Rozov
>            Assignee: Vlad Rozov
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> DefaultStatefulStreamCodec.toDataStatePair() calls Kryo Output.toBytes() that  creates
new byte[] and copies serialized data to the newly allocated array. It is not necessary as
the output of toDataStatePair() will be copied again in PayloadTuple.getSerializedTuple().



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message