[concurrency-interest] Re: spurious wakeups semantics
josh at bloch.us
Fri Nov 4 10:22:23 EST 2005
As a practical matter, they were allowed from JDK 1.1 at least. The
specs were not up to snuff, and I am (partly) to blame for this. When
I arrived at JavaSoft ('96), spurious wakeups could occur, but were
not documented. For whatever reason, it took us years to document
On 11/4/05, David J. Biesack <David.Biesack at sas.com> wrote:
> Another question: Are spurious wakeups allowed in Java 1.4, or is it only in 1.5 that they are allowed? The 1.4.2 javadoc for java.lang.Object does not mention spurious wakeups, nor does Chapter 17 of JLS 2.0. Or do 1.4 JVMs disallow them and incur the performance penalties mentioned in this thread?
> I assume they may occur in 1.4 (and earlier VMs) but just have not been documented. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4974934 which may have come from a FindBugs analysis of 1.4 source.
> David J. Biesack SAS Institute Inc.
> (919) 531-7771 SAS Campus Drive
> http://www.sas.com Cary, NC 27513
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
More information about the Concurrency-interest