< prev index next >

src/hotspot/share/runtime/os.cpp

Print this page

        

@@ -441,11 +441,11 @@
   // VM version initialization identifies some characteristics of the
   // platform that are used during ergonomic decisions.
   VM_Version::init_before_ergo();
 }
 
-void os::signal_init(TRAPS) {
+void os::initialize_jdk_signal_support(TRAPS) {
   if (!ReduceSignalUsage) {
     // Setup JavaThread for processing signals
     Klass* k = SystemDictionary::resolve_or_fail(vmSymbols::java_lang_Thread(), true, CHECK);
     InstanceKlass* ik = InstanceKlass::cast(k);
     instanceHandle thread_oop = ik->allocate_instance_handle(CHECK);

@@ -471,12 +471,10 @@
                             vmSymbols::add_method_name(),
                             vmSymbols::thread_void_signature(),
                             thread_oop,         // ARG 1
                             CHECK);
 
-    os::signal_init_pd();
-
     { MutexLocker mu(Threads_lock);
       JavaThread* signal_thread = new JavaThread(&signal_thread_entry);
 
       // At this point it may be possible that no osthread was created for the
       // JavaThread due to lack of memory. We would have to throw an exception
< prev index next >