You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2021/12/01 19:11:00 UTC

[jira] (IGNITE-13804) Java thin: avoid buffer copies in synchronous operations

    [ https://issues.apache.org/jira/browse/IGNITE-13804 ]


    Pavel Tupitsyn deleted comment on IGNITE-13804:
    -----------------------------------------

was (Author: ignitetcbot):
{panel:title=Branch: [pull/9622/head] Base: [master] : Possible Blockers (95)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Cache (Restarts) 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302756]]

{color:#d04437}RDD{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302803]]

{color:#d04437}Examples{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302823]]

{color:#d04437}Cache 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302761]]

{color:#d04437}SPI{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302810]]

{color:#d04437}Service Grid{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302801]]

{color:#d04437}Cache 9{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302772]]

{color:#d04437}Basic 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302746]]

{color:#d04437}Scala (Examples){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302821]]

{color:#d04437}Cache 6{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302764]]

{color:#d04437}Continuous Query 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302776]]

{color:#d04437}Continuous Query 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302774]]

{color:#d04437}Control Utility{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302778]]

{color:#d04437}PDS 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302806]]

{color:#d04437}PDS (Compatibility){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302794]]

{color:#d04437}Platform .NET (Core Linux){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302734]]

{color:#d04437}JDBC Driver{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302789]]

{color:#d04437}Control Utility (Zookeeper){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302777]]

{color:#d04437}ZooKeeper (Discovery) 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302813]]

{color:#d04437}Platform .NET (Windows){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302740]]

{color:#d04437}Thin Client: Java{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302798]]

{color:#d04437}Cache 7{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302765]]

{color:#d04437}Queries 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302809]]

{color:#d04437}Cache 5{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302771]]

{color:#d04437}Thin client: Node.js{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302735]]

{color:#d04437}PDS (Indexing){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302807]]

{color:#d04437}Snapshots{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302828]]

{color:#d04437}Binary Objects{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302745]]

{color:#d04437}ZooKeeper (Discovery) 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302815]]

{color:#d04437}Queries 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302808]]

{color:#d04437}PDS 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302805]]

{color:#d04437}Continuous Query 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302775]]

{color:#d04437}Platform C++ CMake (Linux Clang){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302825]]

{color:#d04437}Java Client{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302820]]

{color:#d04437}Basic 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302747]]

{color:#d04437}Cache 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302760]]

{color:#d04437}PDS 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302804]]

{color:#d04437}Cache 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302762]]

{color:#d04437}Cache 8{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302766]]

{color:#d04437}Cache (Failover SSL){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302750]]

{color:#d04437}Security{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302817]]

{color:#d04437}ZooKeeper (Discovery) 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302816]]

{color:#d04437}Snapshots With Indexes{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302829]]

{color:#d04437}Cache (Deadlock Detection){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302748]]

{color:#d04437}Web Sessions{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302811]]

{color:#d04437}Service Grid (Legacy Mode){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302822]]

{color:#d04437}Cache (Failover) 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302753]]

{color:#d04437}Start Nodes{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302824]]

{color:#d04437}Data Structures{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302781]]

{color:#d04437}Cache (Failover) 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302751]]

{color:#d04437}&gt; Build{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=6302741]]

{color:#d04437}PDS 3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302796]]

{color:#d04437}Scala (Visor Console){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302802]]

{color:#d04437}[Build]{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=6302731]]

{color:#d04437}Client Nodes{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302767]]

{color:#d04437}Thin client: PHP{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302736]]

{color:#d04437}Cache (Failover) 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302752]]

{color:#d04437}Cache 4{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302763]]

{color:#d04437}Cache (Restarts) 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302757]]

{color:#d04437}Activate / Deactivate Cluster{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302743]]

{color:#d04437}Platform C++ CMake (Win x64 / Release){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302827]]

{color:#d04437}Platform C++ CMake (Linux){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302826]]

{color:#d04437}Spring{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302800]]

{color:#d04437}Cassandra Store{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302770]]

{color:#d04437}Open Census{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302793]]

{color:#d04437}Compute (Affinity Run){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302768]]

{color:#d04437}Cloud{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302759]]

{color:#d04437}Thin client: Python{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302737]]

{color:#d04437}Cache (Expiry Policy){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302749]]

{color:#d04437}ZooKeeper (Discovery) 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302814]]

{color:#d04437}Compute (Grid){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302769]]

{color:#d04437}SPI (URI Deploy){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302819]]

{color:#d04437}Continuous Query 1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302773]]

{color:#d04437}Logging{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302792]]

{color:#d04437}Cache (Full API Multi JVM){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302754]]

{color:#d04437}PDS (Unit Tests){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302795]]

{color:#d04437}Basic 2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302744]]

{color:#d04437}Dev Utils{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302779]]

{color:#d04437}Cache (Full API){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302755]]

{color:#d04437}Examples (LGPL){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302780]]

{color:#d04437}JCache TCK 1.1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302787]]

{color:#d04437}Index Query API{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302786]]

{color:#d04437}Kubernetes{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302791]]

{color:#d04437}Geospatial Indexing{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302782]]

{color:#d04437}Queries (Config Variations){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302797]]

{color:#d04437}AOP{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302742]]

{color:#d04437}ZooKeeper{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302812]]

{color:#d04437}Hibernate 5.3{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302785]]

{color:#d04437}Hibernate 5.1{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302784]]

{color:#d04437}JTA{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302788]]

{color:#d04437}Cache (Tx Recovery){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302758]]

{color:#d04437}Hibernate 4.2{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302783]]

{color:#d04437}Yarn{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302818]]

{color:#d04437}Interceptor Cache (Full API Config Variations / Basic){color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302790]]

{color:#d04437}Streamers{color} [[tests 0 CANCELLED|https://ci.ignite.apache.org/viewLog.html?buildId=6302799]]

{panel}
{panel:title=Branch: [pull/9622/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6302830&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Java thin: avoid buffer copies in synchronous operations
> --------------------------------------------------------
>
>                 Key: IGNITE-13804
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13804
>             Project: Ignite
>          Issue Type: Improvement
>          Components: thin client
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Minor
>
> {{org.apache.ignite.internal.client.thin.TcpClientChannel#send}} creates a buffer copy, because the buffer will be returned to the pool upon leaving the scope, but we need it to survive longer while NIO framework processes it.
> However, for synchronous requests we block the thread anyway, so an extra copy can be avoided. See discussion in [#8483|https://github.com/apache/ignite/pull/8483#discussion_r533915757]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)