95 #ifdef WITH_DETAIL_OID
97 static uint64 last_detail_oid = 10;
100 _Object::_Object() : refCount_(0) {
101 #ifdef WITH_DETAIL_OID
102 detail_oid_ = ++last_detail_oid;
103 if (detail_oid_ == 0)
104 int set_breakpoint_here = 1;
108 _Object::~_Object() {
111 #ifdef WITH_DETAIL_OID
112 void _Object::set_detail_oid(uint64 detail_oid) {
113 detail_oid_ = detail_oid;
115 last_detail_oid = detail_oid;
119 void _Object::incRef() {
121 Atomic::Increment32(&refCount_);
124 void _Object::decRef() {
126 if (Atomic::Decrement32(&refCount_) == 0)