[jboss-jira] [JBoss JIRA] (JGRP-1869) TP.registerProbeHandler not thread safe
Dennis Reed (JIRA)
issues at jboss.org
Wed Aug 6 14:16:31 EDT 2014
Dennis Reed created JGRP-1869:
---------------------------------
Summary: TP.registerProbeHandler not thread safe
Key: JGRP-1869
URL: https://issues.jboss.org/browse/JGRP-1869
Project: JGroups
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.2.12
Reporter: Dennis Reed
Assignee: Bela Ban
TP.registerProbeHandlers is not thread safe since it modifies preregistered_probe_handlers outside of any synchronization.
If a thread calls this method while another thread is inside startDiagnostics (which can happen easily with a shared transport), it can cause a NullPointerException when startDiagnostics is looping through preregistered_probe_handlers.
Access to preregistered_probe_handlers should be synchronized.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list