src/hotspot/share/prims/jvmtiEnv.cpp
changeset 51138 914f305ba6fa
parent 50625 d9753e3db0c6
child 51329 9c68699bebe5
--- a/src/hotspot/share/prims/jvmtiEnv.cpp	Tue Jul 17 17:52:03 2018 -0700
+++ b/src/hotspot/share/prims/jvmtiEnv.cpp	Tue Jul 17 19:59:38 2018 -0700
@@ -3644,13 +3644,13 @@
 } /* end GetAvailableProcessors */
 
 jvmtiError
-JvmtiEnv::SetHeapSamplingRate(jint sampling_rate) {
-  if (sampling_rate < 0) {
+JvmtiEnv::SetHeapSamplingInterval(jint sampling_interval) {
+  if (sampling_interval < 0) {
     return JVMTI_ERROR_ILLEGAL_ARGUMENT;
   }
-  ThreadHeapSampler::set_sampling_rate(sampling_rate);
+  ThreadHeapSampler::set_sampling_interval(sampling_interval);
   return JVMTI_ERROR_NONE;
-} /* end SetHeapSamplingRate */
+} /* end SetHeapSamplingInterval */
 
   //
   // System Properties functions