AuxCounters & benchmark modes

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Mar 17 18:50:23 UTC 2014


On 03/17/2014 10:39 PM, Nitsan Wakart wrote:
> For what it is worth, I'm a fan of AuxCounters.

I'm not saying they are *very* bad. :) But, in current form, they are a
bit of the nuisance, which can become a large nuisance if we try to
further abuse them.

> Here are 2 use cases I found, perhaps they can find their way into the
> grand JMH vision:
> 1. Counting failed poll/offer on queue throughput benchmark.

I know about this one, and this easily tied into throughput/averagetime
modes.

> 2. Integrating hardware performance counters

Can you elaborate on this? Do you actually feed the HWC data through
@AuxCounters, or it is just an idea? The reason I ask is that HWC
profilers integration should be the next big thing in JMH.

-Aleksey.



More information about the jmh-dev mailing list