--- old/src/hotspot/share/prims/jvmtiEnvBase.cpp 2017-10-26 15:25:02.050467636 -0400 +++ new/src/hotspot/share/prims/jvmtiEnvBase.cpp 2017-10-26 15:25:01.654855324 -0400 @@ -741,7 +741,7 @@ // Save JNI local handles for any objects that this frame owns. jvmtiError JvmtiEnvBase::get_locked_objects_in_frame(JavaThread* calling_thread, JavaThread* java_thread, - javaVFrame *jvf, GrowableArray* owned_monitors_list, int stack_depth) { + javaVFrame *jvf, GrowableArray* owned_monitors_list, jint stack_depth) { jvmtiError err = JVMTI_ERROR_NONE; ResourceMark rm;