Community
Participate
Working Groups
If an analysis is cancelled before its Job has started running, the Job may never execute at all. In the case of a TmfStateSystemAnalysisModule, the initialization countdown latch can then never be counted down, and any thread that was waiting on it with method waitForInitialization() will wait forever. Also, if the Job does not execute, resetAnalysis() may never be called and then the finished countdown latch will not be restarted. For a TmfStateSystemAnalysisModule, the method should restart the initialization latch to ensure that callers of waitForInitialization() will never get a stale return result (the cancelled execution's initialization result).
New Gerrit change created: https://git.eclipse.org/r/124500