equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2016, 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. |
117 static sigset_t* allowdebug_blocked_signals(); |
117 static sigset_t* allowdebug_blocked_signals(); |
118 |
118 |
119 // For signal-chaining |
119 // For signal-chaining |
120 static struct sigaction *get_chained_signal_action(int sig); |
120 static struct sigaction *get_chained_signal_action(int sig); |
121 static bool chained_handler(int sig, siginfo_t* siginfo, void* context); |
121 static bool chained_handler(int sig, siginfo_t* siginfo, void* context); |
122 |
|
123 // Minimum stack size a thread can be created with (allowing |
|
124 // the VM to completely create the thread and enter user code) |
|
125 static size_t min_stack_allowed; |
|
126 |
|
127 // Return default stack size or guard size for the specified thread type |
|
128 static size_t default_stack_size(os::ThreadType thr_type); |
|
129 static size_t default_guard_size(os::ThreadType thr_type); |
|
130 |
122 |
131 // Real-time clock functions |
123 // Real-time clock functions |
132 static void clock_init(void); |
124 static void clock_init(void); |
133 |
125 |
134 // Stack repair handling |
126 // Stack repair handling |