equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
62 static jint set_minimum_stack_sizes(); |
62 static jint set_minimum_stack_sizes(); |
63 static size_t get_initial_stack_size(ThreadType thr_type, size_t req_stack_size); |
63 static size_t get_initial_stack_size(ThreadType thr_type, size_t req_stack_size); |
64 |
64 |
65 // Returns true if signal is valid. |
65 // Returns true if signal is valid. |
66 static bool is_valid_signal(int sig); |
66 static bool is_valid_signal(int sig); |
|
67 static bool is_sig_ignored(int sig); |
67 |
68 |
68 // Helper function, returns a string (e.g. "SIGILL") for a signal. |
69 // Helper function, returns a string (e.g. "SIGILL") for a signal. |
69 // Returned string is a constant. For unknown signals "UNKNOWN" is returned. |
70 // Returned string is a constant. For unknown signals "UNKNOWN" is returned. |
70 static const char* get_signal_name(int sig, char* out, size_t outlen); |
71 static const char* get_signal_name(int sig, char* out, size_t outlen); |
71 |
72 |