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

AcmeResourceHandler should avoid per-request object allocations

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: