Re: ClassValue perf?

2015-04-27 Thread Jochen Theodorou
Am 27.04.2015 19:17, schrieb Charles Oliver Nutter: It seems I may have to write some benchmarks for this then. Just so I understand, the equivalent non-ClassValue-based store would need to: * Be atomic; value may calculate more than once but only be set once. * Be weak; classes given class valu

Re: ClassValue perf?

2015-04-27 Thread Charles Oliver Nutter
It seems I may have to write some benchmarks for this then. Just so I understand, the equivalent non-ClassValue-based store would need to: * Be atomic; value may calculate more than once but only be set once. * Be weak; classes given class values must not be rooted as a result (an external impl li

Re: ClassValue perf?

2015-04-27 Thread Christian Thalinger
> On Apr 24, 2015, at 2:17 PM, John Rose wrote: > > On Apr 24, 2015, at 5:38 AM, Charles Oliver Nutter > wrote: >> >> Hey folks! >> >> I'm wondering how the performance of ClassValue looks on recent >> OpenJDK 7 and 8 builds. JRuby 9000 will be Java 7+ only, so this is >> one place I'd like

Re: ClassValue perf?

2015-04-27 Thread MacGregor, Duncan (GE Energy Management)
On 25/04/2015 13:44, "Remi Forax" wrote: >On 04/24/2015 11:17 PM, John Rose wrote: >> On Apr 24, 2015, at 5:38 AM, Charles Oliver Nutter >> wrote: >>> Hey folks! >>> >>> I'm wondering how the performance of ClassValue looks on recent >>> OpenJDK 7 and 8 builds. JRuby 9000 will be Java 7+ only, so