ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6740) Java 9: rework DirectBuffer.address() usages
Date Wed, 13 Dec 2017 16:23:00 GMT

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

Andrey Kuznetsov commented on IGNITE-6740:
------------------------------------------

[~ezhuravl], I think it's a good idea. And also we can get {{address}} field offset only once
per JVM lifetime, right?

> Java 9: rework DirectBuffer.address() usages
> --------------------------------------------
>
>                 Key: IGNITE-6740
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6740
>             Project: Ignite
>          Issue Type: Task
>          Components: general
>            Reporter: Vladimir Ozerov
>            Assignee: Andrey Kuznetsov
>             Fix For: 2.4
>
>
> We have two usages of {{DirectBuffer.address()}} method which is no longer accessible
in Java 9: 
> 1) {{DirectByteBufferStreamImplV1}}
> 2) {{DirectByteBufferStreamImplV2}}
> Need to rework this code using reflection and/or {{Unsafe}}, so that it compiles and
work on all Java versions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message