diff src/os/linux/vm/os_linux.hpp @ 8812:14509df4cd63

8010389: After fix for 7107135 a failed dlopen() call results in a VM crash Summary: Call dlerror() in VM thread as necessary. Reviewed-by: coleenp, dholmes
author iklam
date Thu, 21 Mar 2013 20:46:46 -0700
parents 9058789475af
children b4081e9714ec
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.hpp	Thu Mar 21 06:53:53 2013 -0700
+++ b/src/os/linux/vm/os_linux.hpp	Thu Mar 21 20:46:46 2013 -0700
@@ -95,7 +95,8 @@
 
  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();