Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13221

Repeated calls to Class#getCanonicalName and Class#getSimpleName is a bottleneck

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • binary, networking
    • None
    • Docs Required, Release Notes Required

    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 are cached.

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            mnusan Manuel Núñez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: