< prev index next >

src/hotspot/share/prims/nativeLookup.cpp

Print this page
@@ -41,10 +41,11 @@
  #include "prims/jvm_misc.hpp"
  #include "prims/jvmtiExport.hpp"
  #include "prims/nativeLookup.hpp"
  #include "prims/unsafe.hpp"
  #include "prims/scopedMemoryAccess.hpp"
+ #include "prims/shipilevMagic.hpp"
  #include "runtime/arguments.hpp"
  #include "runtime/handles.inline.hpp"
  #include "runtime/interfaceSupport.inline.hpp"
  #include "runtime/javaCalls.hpp"
  #include "runtime/os.hpp"

@@ -235,10 +236,11 @@
  #endif
  #if INCLUDE_JFR
    { CC"Java_jdk_jfr_internal_JVM_registerNatives",                 nullptr, FN_PTR(jfr_register_natives)            },
  #endif
    { CC"Java_jdk_internal_misc_ScopedMemoryAccess_registerNatives", nullptr, FN_PTR(JVM_RegisterJDKInternalMiscScopedMemoryAccessMethods) },
+   { CC"Java_net_shipilev_Magic_registerNatives",                   nullptr, FN_PTR(JVM_RegisterNetShipilevMagicMethods) },
  };
  
  static address lookup_special_native(const char* jni_name) {
    int count = sizeof(lookup_special_native_methods) / sizeof(JNINativeMethod);
    for (int i = 0; i < count; i++) {
< prev index next >