https://issues.apache.org/bugzilla/show_bug.cgi?id=57114

            Bug ID: 57114
           Summary: Performance : Functions that only have values as
                    instance variable should not synchronize execute
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

As per Ubik Load Pack report:
-----------------------------------------------------------------------------
Reviewing code of Functions in JMeter we don't understand why Functions that
only have values as instance variable (so Beanshell or StringFromFile or
IterationCounter (which could be improved to avoid it) are not concerned)
synchronize on execute.

It appears "values" instance variable is initialized within
StandardJMeterEngine thread and then only accessed in read mode by JMeterThread

But it is true that if synchronized is removed then CompoundVariable is
accessed by multi threads but it seems it uses thread related data so it should
be OK.


-----------------------------------------------------------------------------

And as per dev mailing list :
http://mail-archives.apache.org/mod_mbox/jmeter-dev/201410.mbox/%3CCAB%3DJe-Gy4tp%3DMPih292oG1XpH7D1X0%2BUR%2BUa_rnLyXaUH-fePA%40mail.gmail.com%3E

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to