You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Manuel Núñez (Jira)" <ji...@apache.org> on 2020/07/06 15:49:00 UTC

[jira] [Created] (IGNITE-13221) Repeated calls to Class#getCanonicalName and Class#getSimpleName is a bottleneck

Manuel Núñez created IGNITE-13221:
-------------------------------------

             Summary: Repeated calls to Class#getCanonicalName and Class#getSimpleName is a bottleneck
                 Key: IGNITE-13221
                 URL: https://issues.apache.org/jira/browse/IGNITE-13221
             Project: Ignite
          Issue Type: Improvement
          Components: binary, networking
            Reporter: Manuel Núñez


OpenJDK version <  11 does not cache class name neither simple class name and this is a bottleneck, mainly in org.apache.ignite.internal.binary.BinaryObjectExImpl. 

Solution could be to cache all calls to Class#getSimpleName within IgniteUtils for example.
 
Since OpenJDK 11 and later, name and simple name is cached.

For details, see ticket https://bugs.openjdk.java.net/browse/JDK-8187123



--
This message was sent by Atlassian Jira
(v8.3.4#803005)