--- old/src/hotspot/share/prims/jvmtiEnv.cpp 2017-10-02 10:17:44.401528538 -0700 +++ new/src/hotspot/share/prims/jvmtiEnv.cpp 2017-10-02 10:17:44.029529786 -0700 @@ -1951,13 +1951,13 @@ // Start the sampler. jvmtiError -JvmtiEnv::StartHeapSampling(jint monitoring_rate, jint max_storage) { +JvmtiEnv::StartHeapSampling(jint monitoring_rate, jint max_gc_storage) { if (monitoring_rate < 0) { return JVMTI_ERROR_ILLEGAL_ARGUMENT; } HeapThreadTransition htt(Thread::current()); - HeapMonitoring::initialize_profiling(monitoring_rate, max_storage); + HeapMonitoring::initialize_profiling(monitoring_rate, max_gc_storage); return JVMTI_ERROR_NONE; } /* end StartHeapSampling */