kieker-monitoring / kieker

Kieker's main repository
Apache License 2.0
70 stars 41 forks source link

[KIEKER-244] RealtimeReplayDistributor: Use higher-level synchronization mechanism #1620

Closed rju closed 2 days ago

rju commented 5 days ago

JIRA Issue: KIEKER-244 RealtimeReplayDistributor: Use higher-level synchronization mechanism Original Reporter: Andre van Hoorn


See KIEKER-46 Done

FindBugs repors:

"src/tools/kieker/tools/logReplayer/RealtimeReplayDistributor.java:123 Wait not in loop"

rju commented 4 days ago

author Jan Waller -- Tue, 4 Oct 2011 15:31:49 +0200

            while (this.active > this.maxQueueSize) {
                try {
                    this.wait();
                } catch (final InterruptedException e) { //ignore
                }
            }

and notifyAll() should fix this

rju commented 4 days ago

author Jan Waller -- Tue, 4 Oct 2011 15:32:12 +0200

Although a higher level mechanism might be better