mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
Merge
This commit is contained in:
commit
5117e1a805
358 changed files with 58875 additions and 1800 deletions
|
@ -312,6 +312,9 @@ void Thread::initialize_thread_local_storage() {
|
|||
void Thread::record_stack_base_and_size() {
|
||||
set_stack_base(os::current_stack_base());
|
||||
set_stack_size(os::current_stack_size());
|
||||
if (is_Java_thread()) {
|
||||
((JavaThread*) this)->set_stack_overflow_limit();
|
||||
}
|
||||
// CR 7190089: on Solaris, primordial thread's stack is adjusted
|
||||
// in initialize_thread(). Without the adjustment, stack size is
|
||||
// incorrect if stack is set to unlimited (ulimit -s unlimited).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue