On Mon, Mar 30, 2020 at 1:06 PM Vladimir Sitnikov < [email protected]> wrote:
> >a) Implement copy-on-write like mode for properties. > >For instance, we can add `modifiedPropMap` for the properties that were > modified in the running version. > > copy-on-write seems trivial to implement (e.g. replace Map with Dexx > HashMap: https://github.com/andrewoma/dexx ), > however, there's a major problem: > JMeterProperty is exposed in a raw fashion (e.g. #getProperty or even > #propertyIterator) > > It means we should clone properties at the time they are exposed to the > untrusted code. > However, it is not clear how to tell if the property was already cloned or > not. > Custom scripts can also modify props (I guess you have this in mind, but just not to skip it) > > Vladimir > -- Cordialement. Philippe Mouawad.
