Home | History | Annotate | Download | only in space

Lines Matching defs:self

52   mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
56 LargeObjectMapSpace::Alloc(self, num_bytes + kMemoryToolRedZoneBytes * 2, bytes_allocated,
74 bool IsZygoteLargeObject(Thread* self, mirror::Object* obj) const OVERRIDE {
75 return LargeObjectMapSpace::IsZygoteLargeObject(self, ObjectWithRedzone(obj));
78 size_t Free(Thread* self, mirror::Object* obj) OVERRIDE {
81 return LargeObjectMapSpace::Free(self, object_with_rdz);
133 mirror::Object* LargeObjectMapSpace::Alloc(Thread* self, size_t num_bytes,
154 MutexLock mu(self, lock_);
176 bool LargeObjectMapSpace::IsZygoteLargeObject(Thread* self, mirror::Object* obj) const {
177 MutexLock mu(self, lock_);
183 void LargeObjectMapSpace::SetAllLargeObjectsAsZygoteObjects(Thread* self) {
184 MutexLock mu(self, lock_);
190 size_t LargeObjectMapSpace::Free(Thread* self, mirror::Object* ptr) {
191 MutexLock mu(self, lock_);
194 ScopedObjectAccess soa(self);
220 size_t LargeObjectSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) {
226 total += Free(self, ptrs[i]);
241 Thread* self = Thread::Current();
242 if (lock_.IsExclusiveHeld(self)) {
246 MutexLock mu(self, lock_);
409 size_t FreeListSpace::Free(Thread* self, mirror::Object* obj) {
410 MutexLock mu(self, lock_);
479 mirror::Object* FreeListSpace::Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
481 MutexLock mu(self, lock_);
563 bool FreeListSpace::IsZygoteLargeObject(Thread* self ATTRIBUTE_UNUSED, mirror::Object* obj) const {
569 void FreeListSpace::SetAllLargeObjectsAsZygoteObjects(Thread* self) {
570 MutexLock mu(self, lock_);
584 Thread* self = context->self;
585 Locks::heap_bitmap_lock_->AssertExclusiveHeld(self);
595 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);