Skip to content

Commit

Permalink
8173339: AArch64: Fix minimum stack size computations
Browse files Browse the repository at this point in the history
Reviewed-by: aph
Backport-of: 540ec375c30e973ceb1a944d5cc60cc8532e88ec
  • Loading branch information
Dongbo He authored and gnu-andrew committed Aug 26, 2022
1 parent 2223058 commit de32daa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp
Expand Up @@ -56,7 +56,10 @@ define_pd_global(intx, InlineFrequencyCount, 100);
define_pd_global(intx, StackYellowPages, 2);
define_pd_global(intx, StackRedPages, 1);

define_pd_global(intx, StackShadowPages, 4 DEBUG_ONLY(+5));
// Java_java_net_SocketOutputStream_socketWrite0() uses a 64k buffer on the
// stack if compiled for unix and LP64. To pass stack overflow tests we need
// 20 shadow pages.
define_pd_global(intx, StackShadowPages, 20 DEBUG_ONLY(+5));

define_pd_global(intx, PreInflateSpin, 10);

Expand Down

1 comment on commit de32daa

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.