You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/05 12:46:58 UTC

[jira] [Commented] (IGNITE-4295) GridUnsafe: implement specialized methods for every kind of copy operation.

    [ https://issues.apache.org/jira/browse/IGNITE-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15722189#comment-15722189 ] 

ASF GitHub Bot commented on IGNITE-4295:
----------------------------------------

Github user devozerov closed the pull request at:

    https://github.com/apache/ignite/pull/1282


> GridUnsafe: implement specialized methods for every kind of copy operation.
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-4295
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4295
>             Project: Ignite
>          Issue Type: Task
>          Components: general
>    Affects Versions: 1.8
>            Reporter: Vladimir Ozerov
>            Assignee: Vladimir Ozerov
>            Priority: Minor
>              Labels: performance
>             Fix For: 2.0
>
>
> 1) copy(OFFHEAP, HEAP)
> 2) copy(HEAP, OFFHEAP)
> 3) copy(OFFHEAP, OFFHEAP)
> 4) copy(HEAP, HEAP) 
> 5) copy(T[], T[]) must be avoided and replaced with System.arrayCopy().
> 6) Add optional threshold. If we copy too small memory chunk which size is below the threshold, then resort to byte-by-byte copying, as it will be faster.
> E.g. on PowerPC with OpenJDK 8, copying of <100 bytes of data is faster on byte-by-byte basis.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)