nativeLookup.cpp revision 2062
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"
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;
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 int prefix_count;
0N/A if (PrintJNIResolving) {
0N/Aaddress NativeLookup::base_library_lookup(const char* class_name, const char* method_name, const char* signature) {