1472N/A * or visit www.oracle.com if you need additional information or have any
1879N/A#include "precompiled.hpp"
1879N/A#include "classfile/javaClasses.hpp"
1879N/A#include "classfile/systemDictionary.hpp"
1879N/A#include "classfile/vmSymbols.hpp"
1879N/A#include "memory/oopFactory.hpp"
1879N/A#include "memory/resourceArea.hpp"
1879N/A#include "memory/universe.inline.hpp"
1879N/A#include "oops/instanceKlass.hpp"
1879N/A#include "oops/methodOop.hpp"
1879N/A#include "oops/oop.inline.hpp"
2062N/A#include "oops/symbol.hpp"
1879N/A#include "prims/jvm_misc.hpp"
1879N/A#include "prims/nativeLookup.hpp"
1879N/A#include "runtime/arguments.hpp"
1879N/A#include "runtime/handles.inline.hpp"
1879N/A#include "runtime/javaCalls.hpp"
1879N/A#include "runtime/sharedRuntime.hpp"
1879N/A#include "runtime/signature.hpp"
1879N/A# include "os_linux.inline.hpp"
1879N/A# include "os_solaris.inline.hpp"
1879N/A# include "os_windows.inline.hpp"
2796N/A#ifdef TARGET_OS_FAMILY_bsd
2796N/A# include "os_bsd.inline.hpp"
2203N/A { CC"Java_java_io_ObjectOutputStream_getPrimitiveFieldValues", NULL, FN_PTR(JVM_GetPrimitiveFieldValues) }, // intercept ObjectOutputStream getPrimitiveFieldValues for faster serialization
2203N/A { CC"Java_java_io_ObjectInputStream_setPrimitiveFieldValues", NULL, FN_PTR(JVM_SetPrimitiveFieldValues) }, // intercept ObjectInputStream setPrimitiveFieldValues for faster serialization
2204N/A { CC"Java_java_lang_invoke_MethodHandleNatives_registerNatives", NULL, FN_PTR(JVM_RegisterMethodHandleMethods) },
3586N/A { CC"Java_sun_hotspot_WhiteBox_registerNatives", NULL, FN_PTR(JVM_RegisterWhiteBoxMethods) },
2203N/A int i = !JDK_Version::is_gte_jdk14x_version() ? 0 : 2; // see comment in lookup_special_native_methods
0N/Aaddress NativeLookup::lookup_style(methodHandle method, char* pure_name, const char* long_name, int args_size, bool os_style, bool& in_base_library, TRAPS) {
0N/A // Note: It is critical for bootstrapping that Java_java_lang_ClassLoader_00024NativeLibrary_find
0N/A in_base_library = true;
3158N/Aaddress NativeLookup::lookup_critical_style(methodHandle method, char* pure_name, const char* long_name, int args_size, bool os_style) {
0N/A in_base_library = false;
0N/A entry = lookup_style(method, pure_name, long_name, args_size, true, in_base_library, CHECK_NULL);
0N/A entry = lookup_style(method, pure_name, long_name, args_size, false, in_base_library, CHECK_NULL);
0N/Aaddress NativeLookup::lookup_entry_prefixed(methodHandle method, bool& in_base_library, TRAPS) {
0N/A if (PrintJNIResolving) {
0N/Aaddress NativeLookup::base_library_lookup(const char* class_name, const char* method_name, const char* signature) {