tmf: Fix possible concurrency issue with event request IDs
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 8 Dec 2014 21:10:55 +0000 (16:10 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 10 Dec 2014 16:47:39 +0000 (11:47 -0500)
commitbc4f881c29aad1b4862ae20696155a3be3115e34
tree4c0da6b0a99e1fdeda05212da377c00b41c63a47
parentb1e4ea442d5e7aebd58d09871185a1ede0aacdf2
tmf: Fix possible concurrency issue with event request IDs

Protect accesses to the static field with a static lock, to make sure
that all requests really have different IDs. Now that coalesced
requests are put in a Set, the IDs matter.

Change-Id: Iccb226aa6969c8150e0c8cc506b8c68a94e902ee
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/37759
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/request/TmfEventRequest.java
This page took 0.027708 seconds and 5 git commands to generate.