src/hotspot/share/utilities/vmError.cpp
changeset 59252 623722a6aeb9
parent 59248 e92153ed8bdc
equal deleted inserted replaced
59251:4cbfa5077d68 59252:623722a6aeb9
  1363   if (SuppressFatalErrorMessage) {
  1363   if (SuppressFatalErrorMessage) {
  1364       os::abort(CreateCoredumpOnCrash);
  1364       os::abort(CreateCoredumpOnCrash);
  1365   }
  1365   }
  1366   intptr_t mytid = os::current_thread_id();
  1366   intptr_t mytid = os::current_thread_id();
  1367   if (_first_error_tid == -1 &&
  1367   if (_first_error_tid == -1 &&
  1368       Atomic::cmpxchg(mytid, &_first_error_tid, (intptr_t)-1) == -1) {
  1368       Atomic::cmpxchg(&_first_error_tid, (intptr_t)-1, mytid) == -1) {
  1369 
  1369 
  1370     // Initialize time stamps to use the same base.
  1370     // Initialize time stamps to use the same base.
  1371     out.time_stamp().update_to(1);
  1371     out.time_stamp().update_to(1);
  1372     log.time_stamp().update_to(1);
  1372     log.time_stamp().update_to(1);
  1373 
  1373