8010389: After fix for 7107135 a failed dlopen() call results in a VM crash

Call dlerror() in VM thread as necessary.

Reviewed-by: coleenp, dholmes
This commit is contained in:
Ioi Lam 2013-03-21 20:46:46 -07:00
parent 661b263eb2
commit ba67f14480
3 changed files with 65 additions and 14 deletions

View file

@ -95,7 +95,8 @@ class Linux {
public:
static bool _stack_is_executable;
static void *dll_load_inner(const char *name);
static void *dlopen_helper(const char *name, char *ebuf, int ebuflen);
static void *dll_load_in_vmthread(const char *name, char *ebuf, int ebuflen);
static void init_thread_fpu_state();
static int get_fpu_control_word();