diff --git a/src/hotspot/share/jfr/jni/jfrJniMethod.hpp b/src/hotspot/share/jfr/jni/jfrJniMethod.hpp index 72351d3e1c1..6a2d622d7e9 100644 --- a/src/hotspot/share/jfr/jni/jfrJniMethod.hpp +++ b/src/hotspot/share/jfr/jni/jfrJniMethod.hpp @@ -161,9 +161,9 @@ jlong JNICALL jfr_host_total_swap_memory(JNIEnv* env, jclass jvm); void JNICALL jfr_emit_data_loss(JNIEnv* env, jclass jvm, jlong bytes); -jlong JNICALL jfr_register_stack_filter(JNIEnv* env, jobject classes, jobject methods); +jlong JNICALL jfr_register_stack_filter(JNIEnv* env, jclass jvm, jobjectArray classes, jobjectArray methods); -jlong JNICALL jfr_unregister_stack_filter(JNIEnv* env, jlong start_filter_id); +jlong JNICALL jfr_unregister_stack_filter(JNIEnv* env, jclass jvm, jlong id); #ifdef __cplusplus }