-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
jenkins installed in apache-tomcat-8.0.26 running on jdk 1.8 on windows.
Jenkins-Version: 1.630
Implementation-Version: 1.630
Hudson-Version: 1.395
The field org/jvnet/hudson/reactor/Reactor$Node.done is accessed from different threads without synchronization. Should be mad volatile.
Here are the stacktraces of the access:
java/util/concurrent/ThreadPoolExecutor$Worker.run
java/util/concurrent/ThreadPoolExecutor.runWorker
org/jvnet/hudson/reactor/Reactor$Node.run
org/jvnet/hudson/reactor/Reactor$Node.runIfPossible
org/jvnet/hudson/reactor/Reactor$Node.canRun
java/util/concurrent/ThreadPoolExecutor$Worker.run
java/util/concurrent/ThreadPoolExecutor.runWorker
org/jvnet/hudson/reactor/Reactor$Node.run
Data Race found with http://vmlens.com