Lines Matching refs:BUSY
8893 #define BUSY (oop(0x1aff1aff))
8926 oop prefix = (oop)Atomic::xchg_ptr(BUSY, &_overflow_list);
8934 for (size_t spin = 0; prefix == BUSY && spin < CMSOverflowSpinCount; spin++) {
8939 } else if (_overflow_list != BUSY) {
8941 prefix = (oop)Atomic::xchg_ptr(BUSY, &_overflow_list);
8946 // the list in the BUSY state below, it must be the case that
8948 // to a non-BUSY state in the future.
8949 if (prefix == NULL || prefix == BUSY) {
8952 // Write back the NULL in case we overwrote it with BUSY above
8954 (void) Atomic::cmpxchg_ptr(NULL, &_overflow_list, BUSY);
8958 assert(prefix != NULL && prefix != BUSY, "Error");
8966 // Write back the NULL in lieu of the BUSY we wrote
8968 if (_overflow_list == BUSY) {
8969 (void) Atomic::cmpxchg_ptr(NULL, &_overflow_list, BUSY);
8973 assert(cur->mark() != BUSY, "Error");
8983 while (observed_overflow_list == BUSY || observed_overflow_list == NULL) {
9002 if (cur_overflow_list != BUSY) {
9005 } else { // cur_overflow_list == BUSY
9054 if (cur_overflow_list != BUSY) {
9063 #undef BUSY