Mercurial > hg > truffle
comparison src/os/aix/vm/os_aix.cpp @ 14464:3ef193f311ed
8035423: AIX: Fix os::get_default_process_handle() in os_aix.cpp after 8031968
Reviewed-by: kvn
author | simonis |
---|---|
date | Thu, 20 Feb 2014 14:44:33 +0100 |
parents | a13badbb8b8e |
children | 97586c131ac8 |
comparison
equal
deleted
inserted
replaced
14463:0f19095fd8c1 | 14464:3ef193f311ed |
---|---|
1492 void* os::dll_lookup(void* handle, const char* name) { | 1492 void* os::dll_lookup(void* handle, const char* name) { |
1493 pthread_mutex_lock(&dl_mutex); | 1493 pthread_mutex_lock(&dl_mutex); |
1494 void* res = dlsym(handle, name); | 1494 void* res = dlsym(handle, name); |
1495 pthread_mutex_unlock(&dl_mutex); | 1495 pthread_mutex_unlock(&dl_mutex); |
1496 return res; | 1496 return res; |
1497 } | |
1498 | |
1499 void* os::get_default_process_handle() { | |
1500 return (void*)::dlopen(NULL, RTLD_LAZY); | |
1497 } | 1501 } |
1498 | 1502 |
1499 void os::print_dll_info(outputStream *st) { | 1503 void os::print_dll_info(outputStream *st) { |
1500 st->print_cr("Dynamic libraries:"); | 1504 st->print_cr("Dynamic libraries:"); |
1501 LoadedLibraries::print(st); | 1505 LoadedLibraries::print(st); |