--- old/src/hotspot/share/runtime/thread.cpp 2020-05-20 18:00:37.538794556 -0700 +++ new/src/hotspot/share/runtime/thread.cpp 2020-05-20 18:00:37.202788104 -0700 @@ -351,12 +351,6 @@ set_stack_base(os::current_stack_base()); set_stack_size(os::current_stack_size()); -#ifdef SOLARIS - if (os::is_primordial_thread()) { - os::Solaris::correct_stack_boundaries_for_primordial_thread(this); - } -#endif - // Set stack limits after thread is initialized. if (is_Java_thread()) { ((JavaThread*) this)->set_stack_overflow_limit();