Results 1 to 1 of 1
- 02-26-2012, 05:12 AM #1
Member
- Join Date
- Oct 2011
- Posts
- 33
- Rep Power
- 0
Race Conditions in Java - 2 Examples
Though Race condition is quite a comprehensive topic and not easy to understand and takes effort to avoid it. I have put together two common cases of Race conditions "check and act" & "read modify write" which can arise by incorrectly using java collection API or by following similar coding pattern. As per my experience Race condition is pretty hard to detect and only way you can minimize it by proper code review and awareness of common coding errors which can cause it.
Article : 2 Examples of Race Condition in Java
Similar Threads
-
Simulating a car race
By Chygoz in forum New To JavaReplies: 5Last Post: 02-18-2012, 08:43 PM -
Security hole by Race condition
By simorgh in forum Threads and SynchronizationReplies: 0Last Post: 03-24-2010, 04:10 AM -
Simple Text race game
By Inf1nity in forum New To JavaReplies: 2Last Post: 03-16-2009, 03:46 PM -
Weird problem: Terms and Conditions keep showing up, can't use Java at all
By Czar of Fishies in forum New To JavaReplies: 9Last Post: 09-30-2008, 07:30 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks