RFR: 8217408: Reduce storage of duplicate identifiers in TLS vectors in SunJSSE [v4]

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Fri Jul 9 20:07:53 UTC 2021


On Wed, 23 Jun 2021 22:08:55 GMT, Jack Hartstein <github.com+44308314+jackh2000 at openjdk.org> wrote:

>> 8217408: Reduce storage of duplicate identifiers in TLS vectors in SunJSSE
>
> Jack Hartstein has updated the pull request incrementally with one additional commit since the last revision:
> 
>   import cleanup in SupportedGroupsExtension

src/java.base/share/classes/sun/security/ssl/AlpnExtension.java line 112:

> 110:             }
> 111: 
> 112:             Stream.Builder<String> alpnNames = Stream.builder();

Did you have some benchmark numbers in this context about the performance improvement by replacing LinkedList with Stream.builder?

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

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



More information about the security-dev mailing list