[concurrency-interest] concurrency errors in java.lang.Throwable

Gregg Wonderly gergg at cox.net
Wed Aug 2 17:09:24 EDT 2006


Joe Bowbeer wrote:
> On 8/2/06, Gregg Wonderly <gregg at cytetech.com> wrote:
> 
>>Maybe I missed something.  Is it felt that there's no real value in
>>synchronizing getCause() because subclasses might override it and not
>>synchronize?  Is there a feeling that synchronizing getCause() would
>>place some undue burden on JVM performance?
>
> It would be desirable to:
> 
> 1. Declare detailMessage final
> 2. Make getCause synchronized
> 3. Most of all: document intent so we don't need to have these discussions

Okay, that sounds like a good plan to me :-)

Gregg Wonderly


More information about the Concurrency-interest mailing list