Java developers would be clued in to race conditions in their projects, if a thread sanitizer proposed comes to fruition.
Project Tsan, proposed in the OpenJDK community, would explore and incubate a thread-sanitizing feature that would be integrated into the HotSpot JVM and the JVM tool interface.
[ 15 Java frameworks that give developers a boost. • Which tools support Java’s new modularity features. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
Thread sanitizing would let Java users see data race conditions. With a data race, multiple threads access shared data and try to change it at the same time, leading to erroneous and unexpected behaviors.
To read this article in full, please click here