/art/runtime/gc/space/ |
H A D | space-inl.h | 20 #include "space.h" 29 namespace space { namespace in namespace:art::gc 57 } // namespace space
|
H A D | large_object_space_test.cc | 22 namespace space { namespace in namespace:art::gc 39 los = space::LargeObjectMapSpace::Create("large object space"); 41 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); 129 los = space::LargeObjectMapSpace::Create("large object space"); 131 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); 135 ThreadPool thread_pool("Large object space tes [all...] |
H A D | dlmalloc_space.cc | 32 namespace space { namespace in namespace:art::gc 55 LOG(ERROR) << "Failed to initialize mspace for alloc space (" << name << ")"; 98 LOG(ERROR) << "Failed to create mem map for alloc space (" << name << ") of size " 102 DlMallocSpace* space = CreateFromMemMap(mem_map, name, starting_size, initial_size, local 107 << " ) " << *space; local 109 return space; 133 // Grow as much as possible within the space. 143 // Zero freshly allocated memory, done while not holding the space's lock. 145 // Check that the result is contained in the space. 223 for (space [all...] |
H A D | zygote_space.cc | 27 namespace space { namespace in namespace:art::gc 106 DCHECK(context->space->IsZygoteSpace()); 107 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); 126 } // namespace space
|
H A D | malloc_space.cc | 22 #include "gc/space/space-inl.h" 23 #include "gc/space/zygote_space.h" 34 namespace space { namespace in namespace:art::gc 43 recent_free_pos_(0), lock_("allocation space lock", kAllocSpaceLock), 75 LOG(ERROR) << "Failed to create alloc space (" << name << ") where the initial size (" 81 LOG(ERROR) << "Failed to create alloc space (" << name << ") where the growth limit capacity (" 95 LOG(ERROR) << "Failed to allocate pages for alloc space (" << name << ") of size " 137 // Should never be asked to increase the allocation beyond the capacity of the space. Enforced 163 // alloc space s 232 space::MallocSpace* space = context->space->AsMallocSpace(); local [all...] |
H A D | space.h | 41 namespace space { namespace in namespace:art::gc 59 // Objects are retained forever with this policy for a space. 61 // Every GC cycle will attempt to collect objects in this space. 78 // A space contains memory allocated for managed objects. 81 // Dump space. Also key method for C++ vtables. 84 // Name of the space. May vary, for example before/after the Zygote fork. 89 // The policy of when objects are collected associated with this space. 94 // Is the given object contained within this space? 97 // The kind of space this: image, alloc, zygote, large object. 100 // Is this an image space, i 232 space::Space* const space; member in class:art::gc::space::AllocSpace::SweepCallbackContext::space [all...] |
H A D | dlmalloc_space-inl.h | 26 namespace space { namespace in namespace:art::gc 37 // Zero freshly allocated memory, done while not holding the space's lock. 59 << ") not in bounds of allocation space " << *this; 68 } // namespace space
|
H A D | image_space.cc | 34 #include "space-inl.h" 39 namespace space { namespace in namespace:art::gc 406 // Read the free space of the cache partition and make a decision whether to keep the generated 407 // image. This is to try to mitigate situations where the system might run out of space later. 455 ImageSpace* space; local 543 space = ImageSpace::Init(image_filename->c_str(), image_location, 546 if (space != nullptr) { 547 return space; 589 // Check whether there is enough space left over after we have generated the image. 602 space [all...] |
H A D | rosalloc_space-inl.h | 26 namespace space { namespace in namespace:art::gc 61 << ") not in bounds of allocation space " << *this; 73 } // namespace space
|
H A D | valgrind_malloc_space.h | 26 namespace space { namespace in namespace:art::gc 58 } // namespace space
|
H A D | bump_pointer_space-inl.h | 24 namespace space { namespace in namespace:art::gc 93 } // namespace space
|
H A D | image_space.h | 22 #include "space.h" 29 namespace space { namespace in namespace:art::gc 31 // An image space is a space backed with a memory mapped image. 43 // creation of the alloc space. The ReleaseOatFile will later be 151 // reserve space contiguous to the image. It is later released to 160 } // namespace space
|
H A D | zygote_space.h | 27 namespace space { namespace in namespace:art::gc 29 // An zygote space is a space which you cannot allocate into or free from. 95 } // namespace space
|
H A D | large_object_space.cc | 27 #include "space-inl.h" 33 namespace space { namespace in namespace:art::gc 100 lock_("large object map space lock", kAllocSpaceLock) {} 113 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", NULL, num_bytes, 290 CHECK(mem_map != NULL) << "Failed to allocate large object space mem map: " << error_msg; 297 lock_("free list space lock", kAllocSpaceLock) { 303 allocation_info_map_.reset(MemMap::MapAnonymous("large object free list space allocation info map", 422 // Fit our object in the previous allocation info free space. 430 // If there is remaining space, insert back into the free set. 434 // Try to steal some memory from the free space a 493 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace(); local [all...] |
H A D | rosalloc_space.cc | 33 namespace space { namespace in namespace:art::gc 62 LOG(ERROR) << "Failed to initialize rosalloc for alloc space (" << name << ")"; 109 LOG(ERROR) << "Failed to create mem map for alloc space (" << name << ") of size " 114 RosAllocSpace* space = CreateFromMemMap(mem_map, name, starting_size, initial_size, local 120 << " ) " << *space; local 122 return space; 151 // Grow as much as possible within the space. 240 // Trim to release memory at the end of the space. 272 // Don't let the space grow any more. 302 callback(NULL, NULL, 0, arg); // Indicate end of a space [all...] |
/art/runtime/gc/accounting/ |
H A D | remembered_set.cc | 28 #include "gc/space/space.h" 58 // Clear dirty cards in the space and insert them into the dirty card set. 66 space::ContinuousSpace* target_space, 94 space::ContinuousSpace* const target_space_; 103 space::ContinuousSpace* target_space, 118 space::ContinuousSpace* const target_space_; 125 space::ContinuousSpace* target_space, void* arg) { 139 // a reference to the target space. So, remove it from the dirty 147 // space fro [all...] |
H A D | card_table.h | 34 namespace space { namespace in namespace:art::gc 36 } // namespace space 117 // Resets all of the bytes in the card table which do not map to the image space. 118 void ClearSpaceCards(space::ContinuousSpace* space);
|
H A D | mod_union_table.cc | 28 #include "gc/space/space.h" 116 // Clear dirty cards in the this space and update the corresponding mod-union bits. 179 space::ContinuousSpace* from_space = heap->FindContinuousSpaceFromObject(obj, false); 180 space::ContinuousSpace* to_space = heap->FindContinuousSpaceFromObject(ref, false); 271 // Clear and re-compute alloc space references associated with this card. 275 auto* space = heap_->FindContinuousSpaceFromObject(reinterpret_cast<Object*>(start), false); local 276 DCHECK(space != nullptr); 277 ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); 308 // Clear dirty cards in the this space an [all...] |
/art/compiler/ |
H A D | image_test.cc | 26 #include "gc/space/image_space.h" 121 gc::space::ContinuousSpace* space = heap->GetNonMovingSpace(); local 122 ASSERT_FALSE(space->IsImageSpace()); 123 ASSERT_TRUE(space != NULL); 124 ASSERT_TRUE(space->IsMallocSpace()); 125 ASSERT_GE(sizeof(image_header) + space->Size(), static_cast<size_t>(file->GetLength())); 169 gc::space::ImageSpace* image_space = heap->GetImageSpace();
|
/art/runtime/gc/collector/ |
H A D | mark_compact.h | 52 namespace space { namespace in namespace:art::gc 56 } // namespace space 81 // Sets which space we will be copying objects in. 82 void SetSpace(space::BumpPointerSpace* space); 161 // Returns true if we should sweep the space. 162 bool ShouldSweepSpace(space::ContinuousSpace* space) const; 220 // Bump pointer space which we are collecting. 221 space [all...] |
/art/runtime/ |
H A D | Android.mk | 66 gc/space/bump_pointer_space.cc \ 67 gc/space/dlmalloc_space.cc \ 68 gc/space/image_space.cc \ 69 gc/space/large_object_space.cc \ 70 gc/space/malloc_space.cc \ 71 gc/space/rosalloc_space.cc \ 72 gc/space/space.cc \ 73 gc/space/zygote_space.cc \ 304 gc/space/spac [all...] |
H A D | intern_table.h | 31 namespace space { namespace in namespace:art::gc 33 } // namespace space 91 // Adds all of the resolved image strings from the image space into the intern table. The 93 void AddImageStringsToTable(gc::space::ImageSpace* image_space) 146 // interned strings which were interned before we created the zygote space. Post zygote is self
|
/art/runtime/arch/arm/ |
H A D | portable_entrypoints_arm.S | 44 add r5, r2, #16 @ create space for method pointer in frame 46 sub sp, r5 @ reserve stack space for argument array 83 sub sp, #8 @ 2 words of space, bottom word will hold Method* 115 sub sp, #8 @ 2 words of space, bottom word will hold Method* 157 sub sp, #8 @ 2 words of space, bottom word will hold Method*
|
/art/runtime/gc/ |
H A D | heap-inl.h | 25 #include "gc/space/bump_pointer_space-inl.h" 26 #include "gc/space/dlmalloc_space-inl.h" 27 #include "gc/space/large_object_space.h" 28 #include "gc/space/rosalloc_space-inl.h" 61 // If the large object allocation failed, try to use the normal spaces (main space, 62 // non moving space). This can happen if there is significant virtual address space 70 byte_count = RoundUp(byte_count, space::BumpPointerSpace::kAlignment); 117 // barrier, if a non-moving space allocation, we need a write 119 // space (wher [all...] |
/art/build/ |
H A D | Android.gtest.mk | 99 runtime/gc/space/dlmalloc_space_base_test.cc \ 100 runtime/gc/space/dlmalloc_space_static_test.cc \ 101 runtime/gc/space/dlmalloc_space_random_test.cc \ 102 runtime/gc/space/rosalloc_space_base_test.cc \ 103 runtime/gc/space/rosalloc_space_static_test.cc \ 104 runtime/gc/space/rosalloc_space_random_test.cc \ 105 runtime/gc/space/large_object_space_test.cc \
|