Examine ProxyBuilder::referencedTypes startup cost

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 9, 10, 11
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: