Stolen: Re: [concurrency-interest] LongAdder (was: StripedAdder) and LongAdderTable

2011-08-01 Thread Rémi Forax
An interesting post stolen from the Doug Lea's concurrency mailing list. Having this kind of counter can be really great for those that want to do profiling without having an interpreter Groovy, Nashorn, ... Basically, this kind of counter already exist in the VM, is there a way to bubble them u

Re: Stolen: Re: [concurrency-interest] LongAdder (was: StripedAdder) and LongAdderTable

2011-08-01 Thread John Rose
On Aug 1, 2011, at 7:14 AM, Rémi Forax wrote: > Basically, this kind of counter already exist in the VM, > is there a way to bubble them up in Java ? William and I talked about this a little at the Summit, too. First, a caveat: It's interesting and useful to start with pseduocode sketches of t