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

Backport-of: 465d350d0b3cac277a58b9f8ece196c1cde68e80
  • Loading branch information
shipilev committed Nov 16, 2021
1 parent 6221d61 commit e4425d83fff5613b93a72e2a68d9e1e80df13be6
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 e4425d8

Copy link

@openjdk-notifier openjdk-notifier bot commented on e4425d8 Nov 16, 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.