Skip to content
Permalink
Browse files
8276157: C2: Compiler stack overflow during escape analysis on Linux …
…x86_32

Backport-of: 465d350d0b3cac277a58b9f8ece196c1cde68e80
  • Loading branch information
shipilev committed Nov 17, 2021
1 parent 0d0aa7c commit 1b4eb43026799b17878fbeb9f68535916a7803ae
Showing 1 changed file with 7 additions and 1 deletion.
@@ -34,7 +34,13 @@ define_pd_global(intx, CompilerThreadStackSize, 1024);
define_pd_global(intx, ThreadStackSize, 1024); // 0 => use system default
define_pd_global(intx, VMThreadStackSize, 1024);
#else
define_pd_global(intx, CompilerThreadStackSize, 512);
// Some tests in debug VM mode run out of compile thread stack.
// Observed on some x86_32 VarHandles tests during escape analysis.
#ifdef ASSERT
define_pd_global(intx, CompilerThreadStackSize, 768);
#else
define_pd_global(intx, CompilerThreadStackSize, 512);
#endif
// ThreadStackSize 320 allows a couple of test cases to run while
// keeping the number of threads that can be created high. System
// default ThreadStackSize appears to be 512 which is too big.

1 comment on commit 1b4eb43

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 1b4eb43 Nov 17, 2021

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.