Wed, 05 Dec 2018 16:59:12 -0500
8213992: Rename and make DieOnSafepointTimeout the diagnostic option
Reviewed-by: dholmes, dcubed, coleenp, kvn
src/share/vm/runtime/globals.hpp | file | annotate | diff | comparison | revisions | |
src/share/vm/runtime/safepoint.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/runtime/globals.hpp Fri Jul 06 17:25:06 2018 +0100 1.2 +++ b/src/share/vm/runtime/globals.hpp Wed Dec 05 16:59:12 2018 -0500 1.3 @@ -768,8 +768,8 @@ 1.4 "Time out and warn or fail after SafepointTimeoutDelay " \ 1.5 "milliseconds if failed to reach safepoint") \ 1.6 \ 1.7 - develop(bool, DieOnSafepointTimeout, false, \ 1.8 - "Die upon failure to reach safepoint (see SafepointTimeout)") \ 1.9 + diagnostic(bool, AbortVMOnSafepointTimeout, false, \ 1.10 + "Abort upon failure to reach safepoint (see SafepointTimeout)") \ 1.11 \ 1.12 /* 50 retries * (5 * current_retry_count) millis = ~6.375 seconds */ \ 1.13 /* typically, at most a few retries are needed */ \
2.1 --- a/src/share/vm/runtime/safepoint.cpp Fri Jul 06 17:25:06 2018 +0100 2.2 +++ b/src/share/vm/runtime/safepoint.cpp Wed Dec 05 16:59:12 2018 -0500 2.3 @@ -790,9 +790,9 @@ 2.4 tty->print_cr("# SafepointSynchronize::begin: (End of list)"); 2.5 } 2.6 2.7 - // To debug the long safepoint, specify both DieOnSafepointTimeout & 2.8 + // To debug the long safepoint, specify both AbortVMOnSafepointTimeout & 2.9 // ShowMessageBoxOnError. 2.10 - if (DieOnSafepointTimeout) { 2.11 + if (AbortVMOnSafepointTimeout) { 2.12 char msg[1024]; 2.13 VM_Operation *op = VMThread::vm_operation(); 2.14 sprintf(msg, "Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.",