Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8187123

(reflect) Class#getCanonicalName and Class#getSimpleName is a part of performance issue

    XMLWordPrintable

    Details

      Description

      Repeated calls to Class#getCanonicalName and Class#getSimpleName is a bottleneck like JDK-4901942. This appears a part of performance issue in Checker Framework, see the attached image. Can we cache the result of these methods like Class#getName?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shinyafox Shinya Yoshida
              Reporter:
              shinyafox Shinya Yoshida
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: