jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From UBIK LOAD PACK Support <supp...@ubikloadpack.com>
Subject Why do Functions that only have values as instance variable synchronize execute ?
Date Tue, 14 Oct 2014 18:57:25 GMT
Hi,
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.



--

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message