comparison 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
comparison
equal deleted inserted replaced
8811:0ac03fef364f 8812:14509df4cd63
93 static void print_distro_info(outputStream* st); 93 static void print_distro_info(outputStream* st);
94 static void print_libversion_info(outputStream* st); 94 static void print_libversion_info(outputStream* st);
95 95
96 public: 96 public:
97 static bool _stack_is_executable; 97 static bool _stack_is_executable;
98 static void *dll_load_inner(const char *name); 98 static void *dlopen_helper(const char *name, char *ebuf, int ebuflen);
99 static void *dll_load_in_vmthread(const char *name, char *ebuf, int ebuflen);
99 100
100 static void init_thread_fpu_state(); 101 static void init_thread_fpu_state();
101 static int get_fpu_control_word(); 102 static int get_fpu_control_word();
102 static void set_fpu_control_word(int fpu_control); 103 static void set_fpu_control_word(int fpu_control);
103 static pthread_t main_thread(void) { return _main_thread; } 104 static pthread_t main_thread(void) { return _main_thread; }