From bc1a1a5861741ce5002e28eed2ea84ddafd68c70 Mon Sep 17 00:00:00 2001 From: David Holmes Date: Mon, 15 Apr 2024 07:31:58 +0000 Subject: [PATCH] 8330064: JFR: Incorrect function declarations for register/unregister_stack_filter Reviewed-by: mgronlun, dcubed, egahlin, jwaters --- src/hotspot/share/jfr/jni/jfrJniMethod.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }