8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Reviewed-by: shade, stuefe
This commit is contained in:
parent
8f1c134848
commit
7332502883
@ -165,6 +165,9 @@ public class THPsInThreadStackPreventionTest {
|
||||
"-Xmx" + heapSizeMB + "m", "-Xms" + heapSizeMB + "m", "-XX:+AlwaysPreTouch", // stabilize RSS
|
||||
"-Xss" + threadStackSizeMB + "m",
|
||||
"-XX:-CreateCoredumpOnCrash",
|
||||
// Limits the number of JVM-internal threads, which depends on the available cores of the
|
||||
// machine. RSS+Swap could exceed acceptableRSSLimitMB when JVM creates many internal threads.
|
||||
"-XX:ActiveProcessorCount=2",
|
||||
// This will delay the child threads before they create guard pages, thereby greatly increasing the
|
||||
// chance of large VMA formation + hugepage coalescation; see JDK-8312182
|
||||
"-XX:+DelayThreadStartALot"
|
||||
|
Loading…
Reference in New Issue
Block a user