[PATCH]: override a parameter value, constrained to a specific class

Alex Averbuch alex.averbuch at neo4j.com
Wed Feb 7 10:13:42 UTC 2018


Hi,
I'd like to submit a patch to JMH, is the mailing list a valid place to
that?
The change makes it possible to override a parameter value, but that
override only affects the value of a @param in a specific benchmark class
-- i.e., one level is added to the @param namespace.
This is useful when you have the combination of:

   - JMH project with many benchmark classes
   - Multiple benchmark classes have @param fields with the same name
   - @param values are set via the Java builder (or CLI interface)

Feedback welcome!
Cheers,
Alex


More information about the jmh-dev mailing list