ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Núñez (Jira) <j...@apache.org>
Subject [jira] [Created] (IGNITE-13221) Repeated calls to Class#getCanonicalName and Class#getSimpleName is a bottleneck
Date Mon, 06 Jul 2020 15:49:00 GMT
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)

Mime
View raw message