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

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

GitHub user devozerov opened a pull request:

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

    IGNITE-4295

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-4295

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1282
    
----
commit b038730ee56a662f73e02bbec83eb1712180fa82
Author: isapego <[email protected]>
Date:   2016-11-23T09:05:54Z

    IGNITE-4249: ODBC: Fixed performance issue caused by ineddicient IO 
handling on CPP side. This closes #1254.

commit 7a47a0185d308cd3a58c7bfcb4d1cd548bff5b87
Author: devozerov <[email protected]>
Date:   2016-11-24T08:14:08Z

    IGNITE-4270: Allow GridUnsafe.UNALIGNED flag override.

commit b73fa8c4e9f52e96bd806e1cdbec1bed3623a54f
Author: devozerov <[email protected]>
Date:   2016-11-24T08:53:29Z

    IGNITE-4295: Replaced "unsafe" byte[]->byte[] copying with System.arrayCopy.

commit 29a3a4fa12ed7642ec750f339ed36279323931b7
Author: devozerov <[email protected]>
Date:   2016-11-24T09:35:00Z

    offheap->heap routine.

commit 3af04bd1326aa08796b9876795c227be25089d9b
Author: devozerov <[email protected]>
Date:   2016-11-24T09:38:52Z

    heap->offheap routine.

commit 3539b448aa81dbdd541a5c168826b1806bdfded6
Author: devozerov <[email protected]>
Date:   2016-11-24T10:05:19Z

    Added threshold.

commit bdbf64d55d76c91ed214bb34625dad4a10a3453d
Author: devozerov <[email protected]>
Date:   2016-11-24T10:26:22Z

    Fix to default value.

----


> 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)

Reply via email to