Fix: Unsynchronized access in LTTngTCPSessiondClient
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 25 Feb 2014 21:32:05 +0000 (16:32 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2014 23:00:49 +0000 (18:00 -0500)
commite614d916bcf4093bbf98d302b9e37ed990dc7304
treeefc95f8993cbed92aac487774663c26b383dff73
parent3d1aec25c7cc70f4b240a4498d876d9782497cd4
Fix: Unsynchronized access in LTTngTCPSessiondClient

enabledEventList is shared between the LTTngThread and eventTimer
threads but is not synchronized.

This patch changes enabledEventList's type from an ArrayList to a
synchronized HashSet.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-jul/org/lttng/ust/jul/LTTngTCPSessiondClient.java
This page took 0.025555 seconds and 4 git commands to generate.