src/hotspot/share/opto/runtime.cpp
changeset 47634 6a0c42c40cd1
parent 47216 71c04702a3d5
child 48961 120b61d50f85
equal deleted inserted replaced
47633:1c21c60f51bf 47634:6a0c42c40cd1
  1656   NamedCounter* head;
  1656   NamedCounter* head;
  1657   do {
  1657   do {
  1658     c->set_next(NULL);
  1658     c->set_next(NULL);
  1659     head = _named_counters;
  1659     head = _named_counters;
  1660     c->set_next(head);
  1660     c->set_next(head);
  1661   } while (Atomic::cmpxchg_ptr(c, &_named_counters, head) != head);
  1661   } while (Atomic::cmpxchg(c, &_named_counters, head) != head);
  1662   return c;
  1662   return c;
  1663 }
  1663 }
  1664 
  1664 
  1665 int trace_exception_counter = 0;
  1665 int trace_exception_counter = 0;
  1666 static void trace_exception(outputStream* st, oop exception_oop, address exception_pc, const char* msg) {
  1666 static void trace_exception(outputStream* st, oop exception_oop, address exception_pc, const char* msg) {