798 } |
798 } |
799 } |
799 } |
800 tty->print_cr("# SafepointSynchronize::begin: (End of list)"); |
800 tty->print_cr("# SafepointSynchronize::begin: (End of list)"); |
801 } |
801 } |
802 |
802 |
803 // To debug the long safepoint, specify both DieOnSafepointTimeout & |
803 // To debug the long safepoint, specify both AbortVMOnSafepointTimeout & |
804 // ShowMessageBoxOnError. |
804 // ShowMessageBoxOnError. |
805 if (DieOnSafepointTimeout) { |
805 if (AbortVMOnSafepointTimeout) { |
806 char msg[1024]; |
806 char msg[1024]; |
807 VM_Operation *op = VMThread::vm_operation(); |
807 VM_Operation *op = VMThread::vm_operation(); |
808 sprintf(msg, "Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.", |
808 sprintf(msg, "Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.", |
809 SafepointTimeoutDelay, |
809 SafepointTimeoutDelay, |
810 op != NULL ? op->name() : "no vm operation"); |
810 op != NULL ? op->name() : "no vm operation"); |