mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8080925: Make error log write timeout parameter configurable
Reviewed-by: sla, coleenp, ctornqvi, dholmes
This commit is contained in:
parent
1a534420a8
commit
a88e8669c5
2 changed files with 5 additions and 1 deletions
|
@ -1291,7 +1291,7 @@ void WatcherThread::run() {
|
|||
if (!ShowMessageBoxOnError
|
||||
&& (OnError == NULL || OnError[0] == '\0')
|
||||
&& Arguments::abort_hook() == NULL) {
|
||||
os::sleep(this, 2 * 60 * 1000, false);
|
||||
os::sleep(this, ErrorLogTimeout * 60 * 1000, false);
|
||||
fdStream err(defaultStream::output_fd());
|
||||
err.print_raw_cr("# [ timer expired, abort... ]");
|
||||
// skip atexit/vm_exit/vm_abort hooks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue