Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-4357

Add a Jandex index cache to TomEEMicroProfileListener

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 10.0.0-M1, 9.1.3
    • 10.0.0-M2, 9.1.4
    • None
    • None

    Description

      Add a Jandex index cache to TomEEMicroProfileListener

      This will fix a issue with a longer startup time since TomEE 9

      The processApplication method is called for every created application and will then create an index for all jars.
      But the index is based on the AppInfo of the application. The AppInfo can have multiple applications.
      So currently the same index is created for every single application which is unnecessary

      This change will boost our start up time from 2min to ~45s

       

      As reported here: https://github.com/apache/tomee/pull/1231

      Attachments

        Activity

          People

            Unassigned Unassigned
            rzo1 Richard Zowalla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m