[jboss-jira] [JBoss JIRA] (WFLY-11756) AcmeResourceHandler should avoid per-request object allocations

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


Brian Stansberry created WFLY-11756:
---------------------------------------

             Summary: AcmeResourceHandler should avoid per-request object allocations
                 Key: WFLY-11756
                 URL: https://issues.jboss.org/browse/WFLY-11756
             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