src/share/vm/runtime/safepoint.cpp

changeset 9637
eef07cd490d4
parent 9448
73d689add964
parent 9600
a253fe293726
child 9806
758c07667682
equal deleted inserted replaced
9581:95fce20624fc 9637:eef07cd490d4
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");

mercurial