[concurrency-interest] retrofitted wait/notify?

Bob Lee crazybob at crazybob.org
Tue Aug 31 22:34:48 EDT 2010

On Tue, Aug 31, 2010 at 11:14 AM, Paulo Silveira
<paulo.silveira at gmail.com>wrote:

> why
> not using AbstractQueuedSynchronizer /UnfairSyncs to implement
> wait/notify instead of its native implementations? There is probably
> an obvious answer, but I cant figuer it out.

wait() and notify() are typically highly optimized for memory and
performance. For example, the lock state bits are typically encoded in the
object header.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20100831/4c9d2f70/attachment-0001.html>

More information about the Concurrency-interest mailing list