equal
deleted
inserted
replaced
314 } |
314 } |
315 } |
315 } |
316 |
316 |
317 // Prepend discovered references to internal pending list |
317 // Prepend discovered references to internal pending list |
318 if (*list != NULL) { |
318 if (*list != NULL) { |
319 *p = Atomic::xchg(*list, _pending_list.addr()); |
319 *p = Atomic::xchg(_pending_list.addr(), *list); |
320 if (*p == NULL) { |
320 if (*p == NULL) { |
321 // First to prepend to list, record tail |
321 // First to prepend to list, record tail |
322 _pending_list_tail = p; |
322 _pending_list_tail = p; |
323 } |
323 } |
324 |
324 |