[jboss-jira] [JBoss JIRA] (WFLY-11755) AcmeResourceHandler should use a precompiled Pattern

Brian Stansberry (Jira) issues at jboss.org
Wed Feb 20 11:26:00 EST 2019


Brian Stansberry created WFLY-11755:
---------------------------------------

             Summary: AcmeResourceHandler should use a precompiled Pattern
                 Key: WFLY-11755
                 URL: https://issues.jboss.org/browse/WFLY-11755
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list