--- old/src/hotspot/share/prims/jvmti.xml 2018-03-28 08:20:23.141206793 -0700 +++ new/src/hotspot/share/prims/jvmti.xml 2018-03-28 08:20:22.821207964 -0700 @@ -13565,7 +13565,7 @@ - Sent when an object is sampled via the + Sent when an allocated object is sampled via the Heap Sampling Monitoring system .

By default, the sampling rate used is geometric variable with a 512kb mean, meaning one object every 512k bytes, @@ -13577,7 +13577,7 @@ with a strictly positive integer value, representing the new sampling rate to be used by the default sampler.

- This event is sent once the allocation has been done and provides the object, stack trace + This event is sent once the sampled allocation has been done and provides the object, stack trace for the allocation, the thread allocating, the size of allocation, and class.

Typical use cases of this system is to determine where most heap allocation are originating from.