On Thu, 8 Jul 2021 10:38:33 GMT, Sergei Ustimenko 
<github.com+5709644+fd...@openjdk.org> wrote:

> This patch replaces a LinkedList data structure used in the 
> net.http.FilterFactory class with an ArrayList. This issue relates to 
> [JDK-8246048: Replace LinkedList with ArrayLists in 
> java.net.](https://bugs.openjdk.java.net/browse/JDK-8246048).
> 
> The list created once per HttpClient and filled with upfront known values (3 
> of them in the jdk.internal.net.http.HttpClientImpl#initFilters: 
> AuthenticationFilter.class, RedirectFilter.class and depending on the 
> presence of a cookieHandler - a CookieFilter.class).

This pull request has now been integrated.

Changeset: 2309b7d8
Author:    Sergei Ustimenko <fd...@protonmail.com>
Committer: Daniel Fuchs <dfu...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/2309b7d8fc37e9ba8f80f7820ae2875ccc3b07fd
Stats:     16 lines in 3 files changed: 2 ins; 4 del; 10 mod

8253178: Replace LinkedList Impl in net.http.FilterFactory

Reviewed-by: dfuchs

-------------

PR: https://git.openjdk.java.net/jdk/pull/4721

Reply via email to