mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8191663: Zero variant broken after 8189170 and 8189871
Reviewed-by: eosterlund, coleenp
This commit is contained in:
parent
b18720e411
commit
1e788379fa
2 changed files with 2 additions and 2 deletions
|
@ -372,7 +372,7 @@ static void current_stack_region(address *bottom, size_t *size) {
|
|||
// The initial thread has a growable stack, and the size reported
|
||||
// by pthread_attr_getstack is the maximum size it could possibly
|
||||
// be given what currently mapped. This can be huge, so we cap it.
|
||||
if (os::Linux::is_initial_thread()) {
|
||||
if (os::is_primordial_thread()) {
|
||||
stack_bytes = stack_top - stack_bottom;
|
||||
|
||||
if (stack_bytes > JavaThread::stack_size_at_create())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue