Mercurial > hg > graal-compiler
comparison src/os/aix/vm/os_aix.cpp @ 17806:9200402b42d5
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 | c668f307a4c0 |
children | 71a71b0bc844 |
comparison
equal
deleted
inserted
replaced
17805:bbfbe9b06038 | 17806:9200402b42d5 |
---|---|
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); |