comparison src/hotspot/share/runtime/safepoint.cpp @ 53596:639a3e43f5b7

8213992: Rename and make DieOnSafepointTimeout the diagnostic option Reviewed-by: dholmes, dcubed, coleenp, kvn
author shade
date Tue, 20 Nov 2018 22:59:27 +0100
parents f1bb77833b59
children bbfa1b3aaf7e
comparison
equal deleted inserted replaced
23:9912bc7607b7 24:7c6dc1d98630
976 } 976 }
977 ls.print_cr("# SafepointSynchronize::begin: (End of list)"); 977 ls.print_cr("# SafepointSynchronize::begin: (End of list)");
978 } 978 }
979 } 979 }
980 980
981 // To debug the long safepoint, specify both DieOnSafepointTimeout & 981 // To debug the long safepoint, specify both AbortVMOnSafepointTimeout &
982 // ShowMessageBoxOnError. 982 // ShowMessageBoxOnError.
983 if (DieOnSafepointTimeout) { 983 if (AbortVMOnSafepointTimeout) {
984 fatal("Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.", 984 fatal("Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.",
985 SafepointTimeoutDelay, VMThread::vm_safepoint_description()); 985 SafepointTimeoutDelay, VMThread::vm_safepoint_description());
986 } 986 }
987 } 987 }
988 988