hotspot/src/share/vm/runtime/safepoint.cpp
changeset 1889 24b003a6fe46
parent 1 489c9b5090e2
child 2131 98f9cef66a34
child 2105 347008ce7984
equal deleted inserted replaced
1888:bbf498fb4354 1889:24b003a6fe46
   728   // To debug the long safepoint, specify both DieOnSafepointTimeout &
   728   // To debug the long safepoint, specify both DieOnSafepointTimeout &
   729   // ShowMessageBoxOnError.
   729   // ShowMessageBoxOnError.
   730   if (DieOnSafepointTimeout) {
   730   if (DieOnSafepointTimeout) {
   731     char msg[1024];
   731     char msg[1024];
   732     VM_Operation *op = VMThread::vm_operation();
   732     VM_Operation *op = VMThread::vm_operation();
   733     sprintf(msg, "Safepoint sync time longer than %d ms detected when executing %s.",
   733     sprintf(msg, "Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.",
   734             SafepointTimeoutDelay,
   734             SafepointTimeoutDelay,
   735             op != NULL ? op->name() : "no vm operation");
   735             op != NULL ? op->name() : "no vm operation");
   736     fatal(msg);
   736     fatal(msg);
   737   }
   737   }
   738 }
   738 }