specializing jvmArgs in a derived class

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Aug 27 11:13:16 UTC 2014


On 08/23/2014 12:12 AM, Aleksey Shipilev wrote:
> On 08/23/2014 12:05 AM, Deneau, Tom wrote:
>> I see your point about making @Benchmark be in the derived classes.
>> I only did it the other way because 90% of the time, it doesn't need to be overridden with anything.
>> But perhaps some restructuring would be better...
> 
> Understood. Well, since the JMH parameters are resolved through the
> inheritance hierarchy [1], it might be fruitful to just introduce the
> intermediary class, a la:

I haven't seen the reply if that method works.

Anyhow, I recorded the original issue in:
 https://bugs.openjdk.java.net/browse/CODETOOLS-7901009

Thanks,
-Aleksey.




More information about the jmh-dev mailing list