Hi.
While searching for some existing jmh tests I found
https://issues.apache.org/jira/browse/CXF-6189 Improve memory usage of UrlUtils. Sergey
says there "I recall awhile back I saw RestEasy and Oltu using the same code for
encoding/decoding".
Discussion on CXF-6189 is quite interesting, fixed class in CXF is
https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/c...
Sergey's comment made me wondering which util class he is referring to.
Naive approach with
https://github.com/resteasy/Resteasy/blob/master/resteasy-jaxrs/src/main/...
seems to be incorrect.
My bet would be on
https://github.com/resteasy/Resteasy/blob/master/resteasy-jaxrs/src/main/...
All possibilities:
grep -l URLDecoder . -R | grep "src/main/java" | sort
./providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/ContentIDUtils.java
./providers/multipart/src/main/java/org/jboss/resteasy/plugins/providers/multipart/i18n/Messages.java
./resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/AcceptParameterHttpPreprocessor.java
./resteasy-jaxrs/src/main/java/org/jboss/resteasy/core/QueryParamInjector.java
./resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyUriInfo.java
./resteasy-jaxrs/src/main/java/org/jboss/resteasy/util/Encode.java
./security/resteasy-oauth/src/main/java/org/jboss/resteasy/auth/oauth/OAuthServlet.java
./tjws/src/main/java/Acme/Utils.java
I think memory footprint changes done as part of
https://issues.apache.org/jira/browse/CXF-6189 could be hopefully used as an inspiration
for changes in RESTEasy.
I miss expertise with the codebase whether CXF-6189 changes are relevant for us and where
it could be applied.
Basically searching for volunteer before I force push myself to forget about it.
Thanks.
Rostislav