--- old/src/share/vm/prims/jvmti.xml 2017-04-04 15:20:34.608074398 -0700 +++ new/src/share/vm/prims/jvmti.xml 2017-04-04 15:20:34.516074779 -0700 @@ -11466,6 +11466,75 @@ + + 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 function. + + new + + + + + + + The monitoring period used for sampling. The sampler will use a statistical approach to + provide in average sampling every allocated bytes. + + + + + + is less than zero. + + + + + + + Get Live Traces + + + + + TODO(jcbeyler): Not sure if we should declare the type as non void and make a JVMTI type here. + It would be ASGCT_CallTrace and then would include a pointer to ASGCT_CallFrame. Would we refactor that code? + + + + + + The thread id number. + + + + + Get Live Heap Sampled traces. The fields of the + structure are filled in with details of the specified sampled allocation. + + new + + + + + jvmtiStackTraceData + + The stack trace array to be filled. + + + + + + On output, size of the array returned via the first parameter. + + + + + + +