Bug 55423 - BatchSampleSender: Reduce locking granularity by moving listener.processBatch outside of synchronized block
BatchSampleSender: Reduce locking granularity by moving listener.processBatch...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.9
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-15 20:40 UTC by Philippe Mouawad
Modified: 2013-08-15 20:49 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2013-08-15 20:40:36 UTC
Currently listener.processBatch is called within synchronized block blocking all threads during this time.

This is only to keep sampleStore thread-safe.

Improve this by moving the sending outside of synchronized block
Comment 1 Philippe Mouawad 2013-08-15 20:49:04 UTC
Date: Thu Aug 15 20:42:36 2013
New Revision: 1514479

URL: http://svn.apache.org/r1514479
Log:
Bug 55423 - BatchSampleSender: Reduce locking granularity by moving listener.processBatch outside of synchronized block
Bugzilla Id: 55423

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/BatchSampleSender.java
    jmeter/trunk/xdocs/changes.xml