jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62637] Synchronizing Timer set by threads is stuck when adding duration
Date Mon, 20 Aug 2018 11:44:28 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62637

--- Comment #1 from Felix Schumacher <felix.schumacher@internetallee.de> ---
Created attachment 36100
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36100&action=edit
Add a BlockingTimer interface

The main problem here is, that SyncTimer does not calculate a delay, but IS the
delay.

To mitigate this, this patch adds a new interface BlockingTimer, that indicates
this behaviour. Anyone implementing this interface has the responsibility to
stop "calculating" the delay when max end time has reached.

With this patch I am not able to reproduce the reported hangs anymore.

But to be honest, it will be easy to produce similar hangs with other timers
that behave in the same way and block while calculating the delay.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message