[ 
https://issues.apache.org/jira/browse/WICKET-7049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714129#comment-17714129
 ] 

ASF subversion and git services commented on WICKET-7049:
---------------------------------------------------------

Commit 06c112a7592ed882059270de8bcb0e673571e88e in wicket's branch 
refs/heads/reiern70/WICKET-7033 from Thomas Heigl
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=06c112a759 ]

WICKET-7049 Avoid allocating a string buffer for empty header buckets (#581)



> Avoid allocation for empty buckets in FilteringHeaderResponse
> -------------------------------------------------------------
>
>                 Key: WICKET-7049
>                 URL: https://issues.apache.org/jira/browse/WICKET-7049
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 9.12.0
>            Reporter: Thomas Heigl
>            Assignee: Thomas Heigl
>            Priority: Minor
>             Fix For: 9.14.0
>
>
> FilteringHeaderResponse currently allocates a new StringResponse for every 
> header bucket. In ajax requests, these buckets are almost always empty in our 
> case. We should use LazyStringResponse in this case to prevent allocating the 
> underlying string buffer.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to