Ability to add "jvm arguments" based on "@Param"

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Jun 5 07:56:44 UTC 2015


On 06/05/2015 10:54 AM, Vladimir Sitnikov wrote:
> Can you please clarify how can I achieve 
> "operationsPerInvocation==@Param" without resorting to my own @Param 
> space walker?

By using .operationsPerInvocation() API? If you wonder how would you
make operationsPerInvocation to match the value of a particular @Param,
then your wrapper should set *both* .operationsPerInvocation() and the
corresponding .param().

-Aleksey.



More information about the jmh-dev mailing list