Re: ClassValue perf?

2016-05-02 Thread Michael Haupt
Hi Rémi, thanks for your reply - note that my patch is merely the result of an effort to meet the requirement of making the single-value storage suggested in the discussion on https://bugs.openjdk.java.net/browse/JDK-8031043 fast. This appears to be difficult. I agree that the performance isn't

Re: ClassValue perf?

2016-05-02 Thread Michael Haupt
Hi Jochen, thanks for clarifying. I've added results from running the benchmarks on an the unpatched JDK 9 base (see the CR link). The twisti and plevart patches perform better for large numbers of classes and class values; the mhaupt patch is weaker than the baseline in those settings. As poi

Re: ClassValue perf?

2016-05-02 Thread Charles Oliver Nutter
On Wed, May 6, 2015 at 6:36 PM, Jochen Theodorou wrote: > Charlie, did you ever get to writing some benchmarks? > Unfortunately not but we are getting into a performance phase over the next couple months. I'll see what I can come up with. - Charlie __