Lines Matching refs:self
85 Thread* self = dvmThreadSelf(); in createStockException() local
115 dvmReleaseTrackedAlloc(obj, self); in createStockException()
121 dvmCallMethod(self, init, obj, &unused, msgStr); in createStockException()
122 if (dvmCheckException(self)) { in createStockException()
123 dvmReleaseTrackedAlloc((Object*) msgStr, self); in createStockException()
124 dvmReleaseTrackedAlloc(obj, self); in createStockException()
128 dvmReleaseTrackedAlloc((Object*) msgStr, self); // okay if msgStr NULL in createStockException()
253 void dvmAddTrackedAlloc(Object* obj, Thread* self) in dvmAddTrackedAlloc() argument
255 if (self == NULL) in dvmAddTrackedAlloc()
256 self = dvmThreadSelf(); in dvmAddTrackedAlloc()
258 assert(self != NULL); in dvmAddTrackedAlloc()
259 if (!dvmAddToReferenceTable(&self->internalLocalRefTable, obj)) { in dvmAddTrackedAlloc()
261 self->threadId, obj); in dvmAddTrackedAlloc()
262 dvmDumpThread(self, false); in dvmAddTrackedAlloc()
273 void dvmReleaseTrackedAlloc(Object* obj, Thread* self) in dvmReleaseTrackedAlloc() argument
278 if (self == NULL) in dvmReleaseTrackedAlloc()
279 self = dvmThreadSelf(); in dvmReleaseTrackedAlloc()
280 assert(self != NULL); in dvmReleaseTrackedAlloc()
282 if (!dvmRemoveFromReferenceTable(&self->internalLocalRefTable, in dvmReleaseTrackedAlloc()
283 self->internalLocalRefTable.table, obj)) in dvmReleaseTrackedAlloc()
286 self->threadId, obj); in dvmReleaseTrackedAlloc()