Tiago Marques Godinho created IGNITE-28422:
----------------------------------------------

             Summary: Create MethodHandles for copying exception during 
compilation
                 Key: IGNITE-28422
                 URL: https://issues.apache.org/jira/browse/IGNITE-28422
             Project: Ignite
          Issue Type: Improvement
          Components: clients
    Affects Versions: 3.1
            Reporter: Tiago Marques Godinho


Currently, a ConcurrentHashMap is used to cache method handles created for 
particular exceptions that have copy factory methods in ViewUtils. However, 
these factory methods are known during compilation time, so we are able to 
assemble the handles eagerly and reduce the caching overhead.

Checkout: org.apache.ignite.internal.util.ViewUtils#createMethodHandleForCopy



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to