AutoLock
Joe Darcy
joe.darcy at oracle.com
Mon Feb 28 11:27:58 PST 2011
Hello Heinz.
Dr Heinz M. Kabutz wrote:
> Hi Joe, David,
>
> thank you for humoring me regarding this issue. I understand all of
> your rationales for not allowing simple expressions. I also agree
> with Doug that we should not encourage people to write locking code,
> because they will probably get it wrong. This will probably be my
> last comment on this and then I'll go back to my hole on the island of
> Crete and shut up ;-)
>
I found the escape analysis results you reported about using a lock
wrapper with try-with-resources very interesting, even if using
try-with-resources with a lock is outside the recommended usage.
More empirical results from using the Coin features, their performance,
ease of retrofitting, etc., would be welcome from Crete or elsewhere :-)
-Joe
More information about the coin-dev
mailing list