@Param support for enum

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon May 26 15:32:04 UTC 2014


On 05/24/2014 11:50 AM, Aleksey Shipilev wrote:
> On 05/23/2014 08:19 PM, Joe Kearney wrote:
>> Would you be interested in having @Param support enum fields? By
>> comparison, Caliper interprets @Param with no args to mean all enum values,
>> and (I think) loads specific named enum values @Param("FOO", "BAR").
> 
> Yeah, @Param-s for enum are accidentally missing. We can get it back.

Recent code has the support for @Param(<enum>):
  http://hg.openjdk.java.net/code-tools/jmh/rev/577497912199

Please test (you will need to build "bleeding edge" 1.0-SNAPSHOT at the
moment), and report your experiences.

Thanks,
-Aleksey.


More information about the jmh-dev mailing list