RFR: 8253178: Replace LinkedList Impl in net.http.FilterFactory [v2]
Sergei Ustimenko
github.com+5709644+fdesu at openjdk.java.net
Fri Jul 9 08:53:24 UTC 2021
> 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).
Sergei Ustimenko has updated the pull request incrementally with one additional commit since the last revision:
8253178: Trim the size for list with headers
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4721/files
- new: https://git.openjdk.java.net/jdk/pull/4721/files/2293d8f9..31ab71bd
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4721&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4721&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/4721.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4721/head:pull/4721
PR: https://git.openjdk.java.net/jdk/pull/4721
More information about the net-dev
mailing list