<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=gdfloyd" rel="nofollow">Floyd</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9266?redirect=false" rel="nofollow">SPR-9266</a></strong> and commented</p>
<p dir="auto">I am not sure if any one has raised this concern before.</p>
<p dir="auto">I saw this in StackOverflow : <a href="http://stackoverflow.com/questions/8417232/spring-delegatingfilterproxy-multi-threading-concerns" rel="nofollow">http://stackoverflow.com/questions/8417232/spring-delegatingfilterproxy-multi-threading-concerns</a></p>
<p dir="auto">Running in high load, the "synchronized (this.delegateMonitor)" in the "doFilter" method may be a bottleneck. it could be better synchronization is placed in the double null check.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.1</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398158138" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15046" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15046/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15046">#15046</a> Unnecessary blocking in DelegatingFilterProxy (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto">1 votes, 2 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kompot2k" rel="nofollow">Yury Lapko</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-10413?redirect=false" rel="nofollow">SPR-10413</a></strong> and commented</p>
<p dir="auto">Unnecessary thread blocking occurs every time when the method doFilter is called. Can be used double check locking to avoid unnecessary thread blocking.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.2.2</p>
<p dir="auto"><strong>Reference URL:</strong> <a href="https://github.com/SpringSource/spring-framework/blob/3.2.x/spring-web/src/main/java/org/springframework/web/filter/DelegatingFilterProxy.java">https://github.com/SpringSource/spring-framework/blob/3.2.x/spring-web/src/main/java/org/springframework/web/filter/DelegatingFilterProxy.java</a></p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398118266" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13904" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13904/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13904">#13904</a> Spring DelegatingFilterProxy synchronization in multi-threading (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/c26272cef62b1e6f3bb982d7f71b2f47c685b014/hovercard" href="https://github.com/spring-projects/spring-framework/commit/c26272cef62b1e6f3bb982d7f71b2f47c685b014"><tt>c26272c</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/20ddd3254b2378862b821f66cdbb101a6a8c6942/hovercard" href="https://github.com/spring-projects/spring-framework/commit/20ddd3254b2378862b821f66cdbb101a6a8c6942"><tt>20ddd32</tt></a></p>