equal
deleted
inserted
replaced
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) { |