Mercurial > octave
comparison libinterp/octave-value/ov-java.cc @ 28527:9e7b2625e574 stable
ov-java.cc: Set reaper thread to use default stack size (bug #58641).
* m4/acinclude.m4 (OCTAVE_CHECK_BROKEN_PTHREAD_STACKSIZE): New configure test.
* configure.ac: Run new configure test.
* ov-java.cc (initialize_jvm): Set jdk.lang.processReaperUseDefaultStackSize to
true if the new configure test failed (work around a glibc bug).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 26 Jun 2020 18:44:35 +0200 |
parents | d2fd4616829b |
children | d5311ca8f945 a2fbb2074436 |
comparison
equal
deleted
inserted
replaced
28525:286fe9352cd6 | 28527:9e7b2625e574 |
---|---|
764 | 764 |
765 octave::JVMArgs vm_args; | 765 octave::JVMArgs vm_args; |
766 | 766 |
767 // Hard-coded options for the jvm. | 767 // Hard-coded options for the jvm. |
768 vm_args.add ("-Djava.class.path=" + initial_class_path ()); | 768 vm_args.add ("-Djava.class.path=" + initial_class_path ()); |
769 #if defined (HAVE_BROKEN_PTHREAD_STACKSIZE) | |
770 vm_args.add ("-Djdk.lang.processReaperUseDefaultStackSize=true"); | |
771 #endif | |
769 vm_args.add ("-Xrs"); | 772 vm_args.add ("-Xrs"); |
770 | 773 |
771 // Additional options given by file java.opts. | 774 // Additional options given by file java.opts. |
772 vm_args.read_java_opts (initial_java_dir () + | 775 vm_args.read_java_opts (initial_java_dir () + |
773 octave::sys::file_ops::dir_sep_str () + | 776 octave::sys::file_ops::dir_sep_str () + |