Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16428

(7.2.z) AcmeResourceHandler should avoid per-request object allocations

    XMLWordPrintable

Details

    Description

      AcmeResourceHandler is using String.matches(String) to check if it needs to handle a request, which results in per-request allocations.

      At minimum this should use a precompile Pattern. That still results in per-request allocation of a Matcher though.

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: