Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11755

AcmeResourceHandler should avoid per-request object allocations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 16.0.0.Final
    • None
    • Web (Undertow)
    • None

    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:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: