RFR: 8217408: Reduce storage of duplicate identifiers in TLS vectors in SunJSSE [v4]
Jack Hartstein
github.com+44308314+jackh2000 at openjdk.java.net
Fri Jul 9 20:45:57 UTC 2021
On Fri, 9 Jul 2021 20:04:40 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:
>> 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?
Not at the moment but I'm working on setting up some JMH benchmarks now.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4577
More information about the security-dev
mailing list