8141641: Runtime: implement range for ErrorLogTimeout

Implement range=(0, jlong_max/1000)

Reviewed-by: coleenp, ddmitriev, dholmes
This commit is contained in:
Gerard Ziemski 2015-11-18 10:46:02 -06:00
parent 581c251007
commit 1777e00cca
3 changed files with 4 additions and 3 deletions

View file

@ -1031,9 +1031,10 @@ public:
product(bool, CreateCoredumpOnCrash, true, \
"Create core/mini dump on VM fatal error") \
\
product(uintx, ErrorLogTimeout, 2 * 60, \
product(uint64_t, ErrorLogTimeout, 2 * 60, \
"Timeout, in seconds, to limit the time spent on writing an " \
"error log in case of a crash.") \
range(0, (uint64_t)max_jlong/1000) \
\
product_pd(bool, UseOSErrorReporting, \
"Let VM fatal error propagate to the OS (ie. WER on Windows)") \