src/share/vm/prims/nativeLookup.cpp

changeset 9931
fd44df5e3bc3
parent 8856
ac27a9c85bea
parent 9858
b985cbb00e68
child 10015
eb7ce841ccec
     1.1 --- a/src/share/vm/prims/nativeLookup.cpp	Wed Oct 14 16:43:13 2020 +0800
     1.2 +++ b/src/share/vm/prims/nativeLookup.cpp	Wed Oct 14 17:44:48 2020 +0800
     1.3 @@ -41,6 +41,9 @@
     1.4  #include "runtime/sharedRuntime.hpp"
     1.5  #include "runtime/signature.hpp"
     1.6  #include "utilities/macros.hpp"
     1.7 +#if INCLUDE_JFR
     1.8 +#include "jfr/jfr.hpp"
     1.9 +#endif
    1.10  #ifdef TARGET_OS_FAMILY_linux
    1.11  # include "os_linux.inline.hpp"
    1.12  #endif
    1.13 @@ -136,6 +139,9 @@
    1.14    { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) },
    1.15    { CC"Java_sun_misc_Perf_registerNatives",                        NULL, FN_PTR(JVM_RegisterPerfMethods)         },
    1.16    { CC"Java_sun_hotspot_WhiteBox_registerNatives",                 NULL, FN_PTR(JVM_RegisterWhiteBoxMethods)     },
    1.17 +#if INCLUDE_JFR
    1.18 +  { CC"Java_jdk_jfr_internal_JVM_registerNatives",                 NULL, FN_PTR(jfr_register_natives)            },
    1.19 +#endif
    1.20  };
    1.21  
    1.22  static address lookup_special_native(char* jni_name) {

mercurial