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 16:05:00 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-13221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manuel Núñez updated IGNITE-13221:
----------------------------------
    Description: 
OpenJDK version <  11 does not cache class name neither simple class name and this is a bottleneck, this affects mainly to 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

  was:
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


> 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
>            Priority: Major
>
> OpenJDK version <  11 does not cache class name neither simple class name and this is a bottleneck, this affects mainly to 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)