Mercurial > hg > graal-compiler
diff src/share/vm/prims/nativeLookup.cpp @ 1980:828eafbd85cc
6348631: remove the use of the HPI library from Hotspot
Summary: move functions from hpi library to hotspot, communicate with licensees and open source community, check jdk for dependency, file CCC request
Reviewed-by: coleenp, acorn, dsamersoff
author | ikrylov |
---|---|
date | Wed, 01 Dec 2010 18:26:32 -0500 |
parents | f95d63e2154a |
children | 3582bf76420e |
line wrap: on
line diff
--- a/src/share/vm/prims/nativeLookup.cpp Tue Nov 23 13:22:55 2010 -0800 +++ b/src/share/vm/prims/nativeLookup.cpp Wed Dec 01 18:26:32 2010 -0500 @@ -37,7 +37,6 @@ #include "prims/nativeLookup.hpp" #include "runtime/arguments.hpp" #include "runtime/handles.inline.hpp" -#include "runtime/hpi.hpp" #include "runtime/javaCalls.hpp" #include "runtime/sharedRuntime.hpp" #include "runtime/signature.hpp" @@ -154,7 +153,7 @@ if (loader.is_null()) { entry = lookup_special_native(jni_name); if (entry == NULL) { - entry = (address) hpi::dll_lookup(os::native_java_library(), jni_name); + entry = (address) os::dll_lookup(os::native_java_library(), jni_name); } if (entry != NULL) { in_base_library = true; @@ -181,7 +180,7 @@ // findNative didn't find it, if there are any agent libraries look in them AgentLibrary* agent; for (agent = Arguments::agents(); agent != NULL; agent = agent->next()) { - entry = (address) hpi::dll_lookup(agent->os_lib(), jni_name); + entry = (address) os::dll_lookup(agent->os_lib(), jni_name); if (entry != NULL) { return entry; }