# HG changeset patch # User simonis # Date 1392903873 -3600 # Node ID 3ef193f311ed4c0ef71634ee3064bfade97483b9 # Parent 0f19095fd8c1e03c9c36caa23120fc4f7a8062f5 8035423: AIX: Fix os::get_default_process_handle() in os_aix.cpp after 8031968 Reviewed-by: kvn diff -r 0f19095fd8c1 -r 3ef193f311ed src/os/aix/vm/os_aix.cpp --- a/src/os/aix/vm/os_aix.cpp Thu Feb 20 11:05:12 2014 +0100 +++ b/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);