On 21/01/2012 7:31 AM, Jason Schroeder wrote:
I have witnessed and can read a race condition in FutureTask (jdk7, jdk6).

However, there is a new version of FutureTask at oswego,
http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/FutureTask.java?view=co
which purposely fixes the race condition.

Can you be more specific about what race condition you are referring to?

Are new versions of the concurrency classes coming to jdk 7/8?

Bug fixes, and enhancements to the concurrency classes are always in the works for the next Java release ie 8. If there are bug fixes that are significant enough then they can be backported to 7.

 Or is
it better to add a race condition bug to database?  (I live under the
newbie impression that races are different bugs.)

I have no idea what you mean by this statement.

David Holmes

Reply via email to