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

Examine ProxyBuilder::referencedTypes startup cost

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 9, 10, 11
    • core-libs

      Analysing profiles of applications doing annotation processing during startup show that ProxyBuilder::referencedTypes can take a disproportionate amount of time. Mainly this is due to depending on numerous stream classes and setting up a number of lambdas, but also minor things like cloning the arrays of parameter and exception types play a part.

      Desugaring and optimizing the code to calculate referencedTypes should be considered.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: