commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Chao" <>
Subject RE: Collections: Double-Checked Locking
Date Thu, 16 Jan 2003 20:19:47 GMT
I already understand the problem with DCL

I'm not asking what DCL is.
I'm asking why collections uses DCL even though DCL is broken.
Is it the case that the DCL situation doesnt ever actually occur on
most real-world archectures (e.g. most real-world arch's follow
a certain ordering such that the bug never appears) ?

If not, then how does collections justify using DCL?


-----Original Message-----
From: Robert Egan []
Sent: Thursday, January 16, 2003 3:14 PM
To: 'Jakarta Commons Users List'
Subject: RE: Collections: Double-Checked Locking

Try these java world articles for more info

-----Original Message-----
From: Tony Chao []
Sent: Thursday, January 16, 2003 2:59 PM
Subject: Collections: Double-Checked Locking


I just started using commons-collections package.
I noticed in the API there's a lot of warnings about doubled-checked locking
being broken.

If it's broken? Why does commons-collections still use it?

Is is theoretically broken, but works in most architectures in practice?

What are some architectures that it actually breaks on?



To unsubscribe, e-mail:
For additional commands, e-mail:

PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary, confidential
and/or privileged information.  If you are not the intended recipient, any
use, copying, disclosure, dissemination or distribution is strictly
prohibited.  If you are not the intended recipient, please notify the sender
immediately by return e-mail, delete this communication and destroy all

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message