mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8181143: Introduce diagnostic flag to abort VM on too long VM operations
Reviewed-by: rkennke, zgu, dholmes, stuefe, rehn
This commit is contained in:
parent
650f3fc113
commit
2278601b7c
4 changed files with 163 additions and 0 deletions
|
@ -501,6 +501,13 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
|
|||
diagnostic(bool, AbortVMOnSafepointTimeout, false, \
|
||||
"Abort upon failure to reach safepoint (see SafepointTimeout)") \
|
||||
\
|
||||
diagnostic(bool, AbortVMOnVMOperationTimeout, false, \
|
||||
"Abort upon failure to complete VM operation promptly") \
|
||||
\
|
||||
diagnostic(intx, AbortVMOnVMOperationTimeoutDelay, 1000, \
|
||||
"Delay in milliseconds for option AbortVMOnVMOperationTimeout") \
|
||||
range(0, max_intx) \
|
||||
\
|
||||
/* 50 retries * (5 * current_retry_count) millis = ~6.375 seconds */ \
|
||||
/* typically, at most a few retries are needed */ \
|
||||
product(intx, SuspendRetryCount, 50, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue