/art/runtime/gc/collector/ |
H A D | concurrent_copying.h | 46 namespace space { namespace in namespace:art::gc 48 } // namespace space 55 // Enable the no-from-space-refs verification at the pause. 57 // Enable the from-space bytes/objects check. 81 void SetRegionSpace(space::RegionSpace* region_space) { 85 space::RegionSpace* RegionSpace() { 189 space::RegionSpace* region_space_; // The underlying region space. 202 bool is_asserting_to_space_invariant_; // True while asserting the to-space invariant.
|
/art/runtime/gc/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. 97 } // namespace space
|
H A D | image_space.cc | 38 #include "space-inl.h" 43 namespace space { namespace in namespace:art::gc 339 // Read the free space of the cache partition and make a decision whether to keep the generated 340 // image. This is to try to mitigate situations where the system might run out of space later. 391 ImageSpace* space; local 501 space = ImageSpace::Init(image_filename->c_str(), 507 if (space != nullptr) { 508 // Check whether there is enough space left over in the data partition. Even if we can load 510 // of space constraints. 513 // ignore the check (as it would test for free space i [all...] |
H A D | rosalloc_space.cc | 34 namespace space { namespace in namespace:art::gc 66 LOG(ERROR) << "Failed to initialize rosalloc for alloc space (" << name << ")"; 115 LOG(ERROR) << "Failed to create mem map for alloc space (" << name << ") of size " 120 RosAllocSpace* space = CreateFromMemMap(mem_map, name, starting_size, initial_size, local 126 << " ) " << *space; local 128 return space; 160 // Grow as much as possible within the space. 251 // Trim to release memory at the end of the space. 283 // Don't let the space grow any more. 311 callback(nullptr, nullptr, 0, arg); // Indicate end of a space [all...] |
H A D | bump_pointer_space-inl.h | 25 namespace space { namespace in namespace:art::gc 98 } // 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. 38 // Create a boot image space from an image file for a specified instruction 43 // creation of the alloc space. The ReleaseOatFile will later be 52 // Try to open an existing app image space. 191 // reserve space contiguous to the image. It is later released to 205 } // namespace space
|
H A D | image_space_fs.h | 34 namespace space { namespace in namespace:art::gc 166 } // namespace space
|
H A D | rosalloc_space-inl.h | 22 #include "gc/space/memory_tool_settings.h" 28 namespace space { namespace in namespace:art::gc 80 << ") not in bounds of allocation space " << *this; 109 } // namespace space
|
H A D | dlmalloc_space.h | 21 #include "space.h" 30 namespace space { namespace in namespace:art::gc 32 // An alloc space is a space where objects may be allocated and garbage collected. Not final as may 44 // the caller should call Begin on the returned space to confirm the 109 // Returns the number of bytes that the space has currently obtained from the system. This is 110 // greater or equal to the amount of live data in the space. 161 // Underlying malloc space. 169 } // namespace space
|
H A D | malloc_space.h | 20 #include "space.h" 32 namespace space { namespace in namespace:art::gc 55 // Allocate num_bytes allowing the underlying space to grow. 59 // Allocate num_bytes without allowing the underlying space to grow. 62 // Return the storage space required by obj. If usable_size isn't null then it is set to the 63 // amount of the storage space that may be used by obj. 90 // Returns the number of bytes that the space has currently obtained from the system. This is 91 // greater or equal to the amount of live data in the space. 113 // The total amount of memory reserved for the alloc space. 130 // Splits ourself into a zygote space an [all...] |
H A D | large_object_space.cc | 31 #include "space-inl.h" 36 namespace space { namespace in namespace:art::gc 123 lock_("large object map space lock", kAllocSpaceLock) {} 137 MemMap* mem_map = MemMap::MapAnonymous("large object space allocation", nullptr, num_bytes, 359 CHECK(mem_map != nullptr) << "Failed to allocate large object space mem map: " << error_msg; 366 lock_("free list space lock", kAllocSpaceLock) { 373 MemMap::MapAnonymous("large object free list space allocation info map", 492 // Fit our object in the previous allocation info free space. 500 // If there is remaining space, insert back into the free set. 504 // Try to steal some memory from the free space a 583 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace(); local [all...] |
H A D | bump_pointer_space.h | 21 #include "space.h" 30 namespace space { namespace in namespace:art::gc 32 // A bump pointer space allocates by incrementing a pointer, it doesn't provide a free 42 // Create a bump pointer space with the requested sizes. The requested base address is not 44 // space to confirm the request was granted. 48 // Allocate num_bytes, returns null if the space is full. 59 // Return the storage space required by obj. 88 // The total amount of memory reserved for the space. 101 // Reset the space to empty. 159 // Object alignment within the space [all...] |
/art/compiler/ |
H A D | image_test.cc | 30 #include "gc/space/image_space.h" 194 gc::space::ImageSpace::GetMultiImageBootClassPath( 350 gc::space::ContinuousSpace* space = heap->GetNonMovingSpace(); local 351 ASSERT_FALSE(space->IsImageSpace()); 352 ASSERT_TRUE(space != nullptr); 353 ASSERT_TRUE(space->IsMallocSpace()); 406 gc::space::ImageSpace* image_space = heap->GetBootImageSpaces()[i];
|
/art/runtime/ |
H A D | oat_file_manager.cc | 29 #include "gc/space/image_space.h" 104 std::vector<gc::space::ImageSpace*> image_spaces = 106 for (gc::space::ImageSpace* image_space : image_spaces) { 133 std::vector<gc::space::ImageSpace*> spaces) { 135 for (gc::space::ImageSpace* space : spaces) { 136 oat_files.push_back(RegisterOatFile(space->ReleaseOatFile())); 635 std::unique_ptr<gc::space::ImageSpace> image_space( 645 // Add image space has a race condition since other threads could be reading from the 652 ScopedSuspendAll ssa("Add image space"); [all...] |
H A D | oat_file_assistant.cc | 36 #include "gc/space/image_space.h" 849 const std::vector<gc::space::ImageSpace*>& image_spaces = 973 std::vector<gc::space::ImageSpace*> image_spaces = runtime->GetHeap()->GetBootImageSpaces(); 985 gc::space::ImageSpace::ReadImageHeaderOrDie(cached_image_info_.location.c_str(), isa_)); 1002 std::vector<gc::space::ImageSpace*> image_spaces = 1005 for (gc::space::ImageSpace* image_space : image_spaces) { 1009 for (gc::space::ImageSpace* image_space : image_spaces) { 1012 gc::space::ImageSpace::ReadImageHeaderOrDie(location.c_str(), isa)); 1026 gc::space::ImageSpace* OatFileAssistant::OpenImageSpace(const OatFile* oat_file) { 1034 gc::space [all...] |
H A D | intern_table.cc | 23 #include "gc/space/image_space.h" 176 void InternTable::AddImagesStringsToTable(const std::vector<gc::space::ImageSpace*>& image_spaces) { 178 for (gc::space::ImageSpace* image_space : image_spaces) { 210 const std::vector<gc::space::ImageSpace*>& image_spaces = 216 for (gc::space::ImageSpace* image_space : image_spaces) {
|
H A D | class_linker.h | 42 namespace space { namespace in namespace:art::gc 44 } // namespace space 139 // Add an image space to the class linker, may fix up classloader fields and dex cache fields. 140 // The dex files that were newly opened for the space are placed in the out argument 142 // The space must be already added to the heap before calling AddImageSpace since we need to 144 bool AddImageSpace(gc::space::ImageSpace* space, 153 bool OpenImageDexFiles(gc::space::ImageSpace* space, 550 void AddImageClassesToClassTable(std::vector<gc::space [all...] |
H A D | intern_table.h | 33 namespace space { namespace in namespace:art::gc 35 } // namespace space 119 void AddImagesStringsToTable(const std::vector<gc::space::ImageSpace*>& image_spaces)
|
H A D | runtime_options.def | 92 RUNTIME_OPTIONS_KEY (gc::space::LargeObjectSpaceType, \
|
H A D | class_linker.cc | 56 #include "gc/space/image_space.h" 766 const std::vector<gc::space::ImageSpace*>& spaces) 778 for (gc::space::ImageSpace* space : spaces) { 779 auto& header = space->GetImageHeader(); 780 size_t offset = reinterpret_cast<uint8_t*>(m) - space->Begin(); 795 const std::vector<gc::space::ImageSpace*>& spaces) 813 const std::vector<gc::space::ImageSpace*>& spaces) 818 for (auto space : spaces) { 819 auto offset = reinterpret_cast<uint8_t*>(arr) - space 1227 UpdateAppImageClassLoadersAndDexCaches( gc::space::ImageSpace* space, Handle<mirror::ClassLoader> class_loader, Handle<mirror::ObjectArray<mirror::DexCache>> dex_caches, ClassTable::ClassSet* new_class_set, bool* out_forward_dex_cache_array, std::string* out_error_msg) argument 1470 UpdateClassLoaderAndResolvedStringsVisitor(gc::space::ImageSpace* space, mirror::ClassLoader* class_loader, bool forward_strings) argument 1534 OpenImageDexFiles(gc::space::ImageSpace* space, std::vector<std::unique_ptr<const DexFile>>* out_dex_files, std::string* error_msg) argument 1559 AddImageSpace( gc::space::ImageSpace* space, Handle<mirror::ClassLoader> class_loader, jobjectArray dex_elements, const char* dex_location, std::vector<std::unique_ptr<const DexFile>>* out_dex_files, std::string* error_msg) argument [all...] |
/art/patchoat/ |
H A D | patchoat.h | 26 #include "gc/space/image_space.h" 76 std::map<gc::space::ImageSpace*, std::unique_ptr<MemMap>>* map, TimingLogger* timings) 153 for (gc::space::ImageSpace* image_space : image_spaces) { 160 LOG(FATAL) << "Did not find object in boot image space " << obj; 224 const std::map<gc::space::ImageSpace*, std::unique_ptr<MemMap>>* space_map_;
|
/art/imgdiag/ |
H A D | imgdiag_test.cc | 26 #include "runtime/gc/space/image_space.h" 51 // We loaded the runtime with an explicit image. Therefore the image space must exist. 52 std::vector<gc::space::ImageSpace*> image_spaces =
|
/art/runtime/entrypoints/quick/ |
H A D | quick_alloc_entrypoints.cc | 39 byte_count = RoundUp(byte_count, gc::space::BumpPointerSpace::kAlignment); \ 65 byte_count = RoundUp(byte_count, gc::space::BumpPointerSpace::kAlignment); \ 90 byte_count = RoundUp(byte_count, gc::space::BumpPointerSpace::kAlignment); \
|
/art/test/137-cfi/ |
H A D | cfi.cc | 33 #include "gc/space/image_space.h" 96 std::vector<gc::space::ImageSpace*> image_spaces = 131 // "mini-debug-info" does not include parameters to save space. 234 // "mini-debug-info" does not include parameters to save space.
|
/art/build/ |
H A D | Android.gtest.mk | 224 runtime/gc/space/dlmalloc_space_static_test.cc \ 225 runtime/gc/space/dlmalloc_space_random_test.cc \ 226 runtime/gc/space/large_object_space_test.cc \ 227 runtime/gc/space/rosalloc_space_static_test.cc \ 228 runtime/gc/space/rosalloc_space_random_test.cc \ 229 runtime/gc/space/space_create_test.cc \
|