Allocations profiler

Ben Manes ben_manes at yahoo.com
Tue Apr 7 03:26:04 UTC 2015


Thanks Aleksey, I'll give it a whirl.  


     On Monday, April 6, 2015 1:38 PM, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
   

 On 26.02.2015 22:56, Matt Warren wrote:
>> * I am not sure how they are able to pull off low-overhead profiling like
> *>* that.*
> 
> If the question is talking about the same post
> (http://blog.matttproud.com/2014/09/go-testing-patterns-benchmark-setup-and.html),
> it seems like the memory usage is something provided by the go runtime
> itself.

So, we do the lightweight GC churn esitmates with "-prof gc" now,
starting from JMH 1.8. It is not allocation-site accurate, but without a
significant overhead, and can be normalized per benchmark op:
 http://mail.openjdk.java.net/pipermail/jmh-dev/2015-April/001785.html

Thanks,
-Aleksey


  


More information about the jmh-dev mailing list