Re: RFR: 8156071: List.of: reduce array copying during creation

2020-10-05 Thread Tagir F . Valeev
On Tue, 6 Oct 2020 03:10:34 GMT, Tagir F. Valeev wrote: >> Looks good, i wondered why the performance results were so slow then i >> looked more closely and saw "-Xint" was used. I >> usually don't ascribe much value to micro benchmarks run in interpreter only >> mode, but hey any shaving off s

Re: RFR: 8253821: Improve ByteBuffer performance with GCM

2020-10-05 Thread Anthony Scarpino
On Tue, 29 Sep 2020 20:22:55 GMT, Anthony Scarpino wrote: > 8253821: Improve ByteBuffer performance with GCM I'd like a review of this change. They are two performance improvements to AES-GCM, the larger being the usage with ByteBuffers. Below are the details of the change and are listed in

RFR: 8253821: Improve ByteBuffer performance with GCM

2020-10-05 Thread Anthony Scarpino
8253821: Improve ByteBuffer performance with GCM - Commit messages: - comments, dead code, change maxlen tp 1k - remove debug line - removing comments and unused method - Moved into Git Changes: https://git.openjdk.java.net/jdk/pull/411/files Webrev: https://webrevs.openjdk.java

Re: RFR: 8156071: List.of: reduce array copying during creation

2020-10-05 Thread Tagir F . Valeev
On Fri, 2 Oct 2020 20:38:40 GMT, Paul Sandoz wrote: >> Plumb new internal static factory method to trust the array passed in, >> avoiding unnecessary copying. JMH results for >> the benchmark show about 15% improvement for the cases that were optimized, >> namely the 3 to 10 fixed arg cases. >>

Integrated: 8156071: List.of: reduce array copying during creation

2020-10-05 Thread Stuart Marks
On Thu, 1 Oct 2020 00:13:28 GMT, Stuart Marks wrote: > Plumb new internal static factory method to trust the array passed in, > avoiding unnecessary copying. JMH results for > the benchmark show about 15% improvement for the cases that were optimized, > namely the 3 to 10 fixed arg cases. > # V