< prev index next >

src/hotspot/share/prims/nativeLookup.cpp

Print this page
@@ -40,10 +40,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"

@@ -232,10 +233,11 @@
  #endif
  #if INCLUDE_JFR
    { CC"Java_jdk_jfr_internal_JVM_registerNatives",                 NULL, FN_PTR(jfr_register_natives)            },
  #endif
    { CC"Java_jdk_internal_misc_ScopedMemoryAccess_registerNatives", NULL, FN_PTR(JVM_RegisterJDKInternalMiscScopedMemoryAccessMethods) },
+   { CC"Java_net_shipilev_Magic_registerNatives",                   NULL, 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 >