src/hotspot/share/opto/runtime.cpp
changeset 59252 623722a6aeb9
parent 57786 948ac3112da8
equal deleted inserted replaced
59251:4cbfa5077d68 59252:623722a6aeb9
  1657   NamedCounter* head;
  1657   NamedCounter* head;
  1658   do {
  1658   do {
  1659     c->set_next(NULL);
  1659     c->set_next(NULL);
  1660     head = _named_counters;
  1660     head = _named_counters;
  1661     c->set_next(head);
  1661     c->set_next(head);
  1662   } while (Atomic::cmpxchg(c, &_named_counters, head) != head);
  1662   } while (Atomic::cmpxchg(&_named_counters, head, c) != head);
  1663   return c;
  1663   return c;
  1664 }
  1664 }
  1665 
  1665 
  1666 int trace_exception_counter = 0;
  1666 int trace_exception_counter = 0;
  1667 static void trace_exception(outputStream* st, oop exception_oop, address exception_pc, const char* msg) {
  1667 static void trace_exception(outputStream* st, oop exception_oop, address exception_pc, const char* msg) {