Re: ClassValue perf?

2016-05-30 Thread Michael Haupt
Hi Peter, the internal tests look good. I'll assign the issue over to you. Thanks! Best, Michael > Am 26.05.2016 um 14:42 schrieb Michael Haupt : > > Hi Peter, > > thank you for this wonderful piece of work. > >> Am 26.05.2016 um 10:59 schrieb Peter Levart > >:

Re: ClassValue perf?

2016-05-30 Thread Peter Levart
Hi Michael, In the meantime I improved LinearProbeHashtable as I identified a weakness in its implementation. In general, if an entry for the same key was inserted and removed repeatably, then each such repetition planted a "tombstone" at a position of inserted key which means that lookup per

Re: ClassValue perf?

2016-05-30 Thread Aleksey Shipilev
On 05/30/2016 06:59 PM, Peter Levart wrote: > I also employed get-acquire/put-release memory ordering semantics > instead of SC (volatile) in hope that it might improve a bit the > performance on platforms such as PowerPC or ARM, but this can be changed > back to SC if anyone gets scared of it :-)

Re: ClassValue perf?

2016-05-30 Thread Peter Levart
On 05/30/2016 07:47 PM, Aleksey Shipilev wrote: On 05/30/2016 06:59 PM, Peter Levart wrote: I also employed get-acquire/put-release memory ordering semantics instead of SC (volatile) in hope that it might improve a bit the performance on platforms such as PowerPC or ARM, but this can be change