--- old/src/share/vm/prims/jvmti.xml 2017-06-27 14:19:09.184522216 -0700
+++ new/src/share/vm/prims/jvmti.xml 2017-06-27 14:19:09.044522711 -0700
@@ -10350,6 +10350,13 @@
See .
+
+
+
+ Can sample the heap.
+ If this capability is enabled then the heap sampling methods can be called.
+
+
@@ -11528,6 +11535,266 @@
+
+
+
+
+ BCI for the given allocation.
+
+
+
+ Method ID for the given frame.
+
+
+
+
+
+ JNIEnv
+ Environment where the trace was recorded.
+
+
+
+ jvmtiCallFrame
+
+ Pointer to the call frames.
+
+
+
+ The number of frames for the trace.
+
+
+
+ The size of the object allocation.
+
+
+
+ The thread id number.
+
+
+
+
+
+
+ jvmtiStackTrace
+
+
+ The array with the various stack traces.
+
+
+
+
+
+
+ Number of traces pointed by the array .
+
+
+
+
+
+
+
+
+ The number of sampled allocations during the lifetime of the sampler.
+ For very long sampling, this number can overflow.
+
+
+
+
+
+
+ The number of samples already garbage collected.
+ For very long sampling, this number can overflow.
+
+
+
+
+
+
+ Accumulation of the sample rates chosen.
+ For very long sampling, this number can overflow.
+
+
+
+
+
+
+ The number of sample rates chosen.
+ For very long sampling, this number can overflow.
+
+
+
+
+
+
+ Accumulation of stack depths collected by the sampler.
+ For very long sampling, this number can overflow.
+
+
+
+
+
+ Start Heap Sampling
+
+ Start the heap sampler in the JVM. The function provides, via its argument, the sampling
+ rate requested and will fill internal data structures with heap allocation samples. The
+ samples are obtained via the ,
+ , ,
+ functions.
+
+ new
+
+
+
+
+
+
+
+ The monitoring rate used for sampling. The sampler will use a statistical approach to
+ provide in average sampling every allocated bytes.
+
+
+
+
+
+ The maximum storage used for the sampler. By default, the value is 200.
+
+
+
+
+
+ is less than zero.
+
+
+
+
+
+ Start Heap Sampling
+
+ Stop the heap sampler in the JVM.
+ Any sample obtained during sampling is still available via the ,
+ , ,
+ functions.
+
+ new
+
+
+
+
+
+
+
+
+
+
+ Get Live Traces
+
+ Get Live Heap Sampled traces. The fields of the
+ structure are filled in with details of the specified sampled allocation.
+
+ new
+
+
+
+
+
+ jvmtiStackTraces
+
+ The stack trace data structure to be filled.
+
+
+
+
+
+
+
+
+ Get Garbage Traces
+
+ Get the recent garbage heap sampled traces. The fields of the
+ structure are filled in with details of the specified sampled allocation.
+
+ new
+
+
+
+
+
+ jvmtiStackTraces
+
+ The stack trace data structure to be filled.
+
+
+
+
+
+
+
+
+ Get Frequent Garbage Traces
+
+ Get the frequent garbage heap sampled traces. The fields of the
+ structure are filled in with details of the specified sampled allocation.
+
+ new
+
+
+
+
+
+ jvmtiStackTraces
+
+ The stack trace data structure to be filled.
+
+
+
+
+
+
+
+
+ Release traces provided by the heap monitoring
+
+ Release traces provided by any of the trace retrieval methods.
+
+ new
+
+
+
+
+
+ jvmtiStackTraces
+
+ The stack trace data structure to be released.
+
+
+
+
+
+
+
+
+ Get the heap sampling statistics
+
+ Returns a to understand the heap sampling behavior and current
+ internal data storage status.
+
+ new
+
+
+
+
+
+ jvmtiHeapSamplingStats
+
+ The structure to be filled with the heap sampler's statistics.
+
+
+
+
+
+
+
+