Bug 55423 - BatchSampleSender: Reduce locking granularity by moving listener.processBatch outside of synchronized block
Summary: BatchSampleSender: Reduce locking granularity by moving listener.processBatch...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.9
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:54 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3190