1.1 --- a/src/share/vm/runtime/os.hpp Sat Jul 19 17:38:22 2008 -0400 1.2 +++ b/src/share/vm/runtime/os.hpp Mon Jul 28 14:07:44 2008 -0400 1.3 @@ -390,6 +390,10 @@ 1.4 static const char* get_temp_directory(); 1.5 static const char* get_current_directory(char *buf, int buflen); 1.6 1.7 + // Builds a platform-specific full library path given a ld path and lib name 1.8 + static void dll_build_name(char* buffer, size_t size, 1.9 + const char* pathname, const char* fname); 1.10 + 1.11 // Symbol lookup, find nearest function name; basically it implements 1.12 // dladdr() for all platforms. Name of the nearest function is copied 1.13 // to buf. Distance from its base address is returned as offset. 1.14 @@ -413,6 +417,9 @@ 1.15 // same architecture as Hotspot is running on 1.16 static void* dll_load(const char *name, char *ebuf, int ebuflen); 1.17 1.18 + // lookup symbol in a shared library 1.19 + static void* dll_lookup(void* handle, const char* name); 1.20 + 1.21 // Print out system information; they are called by fatal error handler. 1.22 // Output format may be different on different platforms. 1.23 static void print_os_info(outputStream* st);