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

Joe Bowbeer joe.bowbeer at gmail.com
Wed Aug 2 17:00:14 EDT 2006


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


More information about the Concurrency-interest mailing list