8035423: AIX: Fix os::get_default_process_handle() in os_aix.cpp after 8031968
authorsimonis
Thu, 20 Feb 2014 14:44:33 +0100
changeset 22880 312d82487cc8
parent 22879 177361c49b26
child 22881 b16d7faa638d
8035423: AIX: Fix os::get_default_process_handle() in os_aix.cpp after 8031968 Reviewed-by: kvn
hotspot/src/os/aix/vm/os_aix.cpp
--- a/hotspot/src/os/aix/vm/os_aix.cpp	Thu Feb 20 11:05:12 2014 +0100
+++ b/hotspot/src/os/aix/vm/os_aix.cpp	Thu Feb 20 14:44:33 2014 +0100
@@ -1496,6 +1496,10 @@
   return res;
 }
 
+void* os::get_default_process_handle() {
+  return (void*)::dlopen(NULL, RTLD_LAZY);
+}
+
 void os::print_dll_info(outputStream *st) {
   st->print_cr("Dynamic libraries:");
   LoadedLibraries::print(st);