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

Reviewed-by: kvn, thartmann
  • Loading branch information
shipilev committed Nov 3, 2021
1 parent 7439b59 commit 465d350d0b3cac277a58b9f8ece196c1cde68e80
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);
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);
define_pd_global(intx, CompilerThreadStackSize, 512);
// 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 465d350

Copy link

@openjdk-notifier openjdk-notifier bot commented on 465d350 Nov 3, 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.