[jboss-jira] [JBoss JIRA] (WFLY-11755) AcmeResourceHandler should avoid per-request object allocations
Brian Stansberry (Jira)
issues at jboss.org
Wed Feb 20 11:41:00 EST 2019
[ https://issues.jboss.org/browse/WFLY-11755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFLY-11755:
------------------------------------
Summary: AcmeResourceHandler should avoid per-request object allocations (was: AcmeResourceHandler should use a precompiled Pattern)
> AcmeResourceHandler should avoid per-request object allocations
> ---------------------------------------------------------------
>
> 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
> Priority: Critical
>
> 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