Bug 66269 - HeaderManager instances could be reused across threads
Summary: HeaderManager instances could be reused across threads
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 5.5
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-20 11:33 UTC by Vladimir Sitnikov
Modified: 2022-09-20 11:33 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Sitnikov 2022-09-20 11:33:03 UTC
It is unlikely that HeaderManager would be mutated during test plan execution, so adding NoThreadClone would reduce heap utilization when the test plan uses many HeaderManager elements (e.g. HeaderManager for each HTTP Sampler)

I've submitted the PR and the tests pass with the change: https://github.com/apache/jmeter/pull/727
Comment 1 The ASF infrastructure team 2022-09-24 20:38:23 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5708