Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite4425d8

Browse files
committed
8276157: C2: Compiler stack overflow during escape analysis on Linux x86_32
Backport-of: 465d350d0b3cac277a58b9f8ece196c1cde68e80
1 parent6221d61 commite4425d8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/hotspot/os_cpu/linux_x86/globals_linux_x86.hpp‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ define_pd_global(intx, CompilerThreadStackSize, 1024);
3434
define_pd_global(intx, ThreadStackSize,1024);// 0 => use system default
3535
define_pd_global(intx, VMThreadStackSize,1024);
3636
#else
37-
define_pd_global(intx, CompilerThreadStackSize,512);
37+
// Some tests in debug VM mode run out of compile thread stack.
38+
// Observed on some x86_32 VarHandles tests during escape analysis.
39+
#ifdef ASSERT
40+
define_pd_global(intx, CompilerThreadStackSize,768);
41+
#else
42+
define_pd_global(intx, CompilerThreadStackSize,512);
43+
#endif
3844
// ThreadStackSize 320 allows a couple of test cases to run while
3945
// keeping the number of threads that can be created high. System
4046
// default ThreadStackSize appears to be 512 which is too big.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp