[jira] [Created] (IGNITE-11115) Binary: rework thread-local binary context to avoid set() operation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-11115) Binary: rework thread-local binary context to avoid set() operation

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-11115:
----------------------------------------

             Summary: Binary: rework thread-local binary context to avoid set() operation
                 Key: IGNITE-11115
                 URL: https://issues.apache.org/jira/browse/IGNITE-11115
             Project: Ignite
          Issue Type: Task
          Components: binary
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov
             Fix For: 2.8


Currently we call {{ThreadLocal.set()}} on every serialization/deserialization (see {{GridBinaryMarshaller#BINARY_CTX}} usages). This may lead to high CPU usage, especially during SQL query execution.
Let's refactor access patterns to work only with {{ThreadLocal.get()}} operation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)