We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6221d61 commite4425d8Copy full SHA for e4425d8
src/hotspot/os_cpu/linux_x86/globals_linux_x86.hpp
@@ -34,7 +34,13 @@ define_pd_global(intx, CompilerThreadStackSize, 1024);
34
define_pd_global(intx, ThreadStackSize,1024);// 0 => use system default
35
define_pd_global(intx, VMThreadStackSize,1024);
36
#else
37
-define_pd_global(intx, CompilerThreadStackSize,512);
+// 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
44
// ThreadStackSize 320 allows a couple of test cases to run while
45
// keeping the number of threads that can be created high. System
46
// default ThreadStackSize appears to be 512 which is too big.