--- a/hotspot/src/share/vm/prims/nativeLookup.cpp Tue Mar 15 14:48:45 2016 -0700
+++ b/hotspot/src/share/vm/prims/nativeLookup.cpp Tue Mar 22 10:43:58 2016 +0000
@@ -42,7 +42,9 @@
#include "runtime/sharedRuntime.hpp"
#include "runtime/signature.hpp"
#include "utilities/macros.hpp"
-
+#if INCLUDE_TRACE
+#include "trace/traceMacros.hpp"
+#endif
static void mangle_name_on(outputStream* st, Symbol* name, int begin, int end) {
char* bytes = (char*)name->bytes() + begin;
@@ -129,6 +131,9 @@
{ CC"Java_jdk_vm_ci_runtime_JVMCI_initializeRuntime", NULL, FN_PTR(JVM_GetJVMCIRuntime) },
{ CC"Java_jdk_vm_ci_hotspot_CompilerToVM_registerNatives", NULL, FN_PTR(JVM_RegisterJVMCINatives) },
#endif
+#if INCLUDE_TRACE
+ { CC"Java_jdk_jfr_internal_JVM_registerNatives", NULL, TRACE_REGISTER_NATIVES },
+#endif
};
static address lookup_special_native(char* jni_name) {