Searched defs:space (Results 1 - 25 of 49) sorted by relevance

12

/art/runtime/gc/accounting/
H A Dmod_union_table-inl.h22 #include "gc/space/space.h"
28 // A mod-union table to record image references to the Zygote and alloc space.
32 space::ContinuousSpace* space)
33 : ModUnionTableReferenceCache(name, heap, space) {}
31 ModUnionTableToZygoteAllocspace(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
H A Dremembered_set.h34 namespace space { namespace in namespace:art::gc
36 } // namespace space
49 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
50 : name_(name), heap_(heap), space_(space) {}
55 // Mark through all references to the target space.
58 space::ContinuousSpace* target_space, void* arg)
64 space::ContinuousSpace* GetSpace() {
78 space::ContinuousSpace* const space_;
/art/runtime/gc/space/
H A Ddlmalloc_space_base_test.cc24 namespace space { namespace in namespace:art::gc
34 } // namespace space
H A Ddlmalloc_space_random_test.cc23 namespace space { namespace in namespace:art::gc
33 } // namespace space
H A Ddlmalloc_space_static_test.cc23 namespace space { namespace in namespace:art::gc
33 } // namespace space
H A Drosalloc_space_base_test.cc21 namespace space { namespace in namespace:art::gc
32 } // namespace space
H A Drosalloc_space_random_test.cc21 namespace space { namespace in namespace:art::gc
32 } // namespace space
H A Drosalloc_space_static_test.cc21 namespace space { namespace in namespace:art::gc
32 } // namespace space
H A Dspace-inl.h20 #include "space.h"
29 namespace space { namespace in namespace:art::gc
57 } // namespace space
H A Dvalgrind_malloc_space.h26 namespace space { namespace in namespace:art::gc
58 } // namespace space
H A Dzygote_space.h27 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 Ddlmalloc_space-inl.h26 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 Ddlmalloc_space.h21 #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
98 // Returns the number of bytes that the space has currently obtained from the system. This is
99 // greater or equal to the amount of live data in the space.
149 // Underlying malloc space.
157 } // namespace space
H A Dimage_space.h22 #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 Dbump_pointer_space-inl.h24 namespace space { namespace in namespace:art::gc
93 } // namespace space
H A Drosalloc_space-inl.h26 namespace space { namespace in namespace:art::gc
61 << ") not in bounds of allocation space " << *this;
73 } // namespace space
H A Drosalloc_space.h22 #include "space.h"
31 namespace space { namespace in namespace:art::gc
33 // An alloc space implemented using a runs-of-slots memory allocator. Not final as may be
39 // the caller should call Begin on the returned space to confirm the
162 } // namespace space
H A Dbump_pointer_space.h21 #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 nullptr 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.
157 // Object alignment within the space
[all...]
H A Dmalloc_space.h20 #include "space.h"
33 namespace space { namespace in namespace:art::gc
56 // 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 nullptr then it is set to the
63 // amount of the storage space that may be used by obj.
85 // Returns the number of bytes that the space has currently obtained from the system. This is
86 // greater or equal to the amount of live data in the space.
108 // The total amount of memory reserved for the alloc space.
121 // Splits ourself into a zygote space an
[all...]
H A Dspace.cc17 #include "space.h"
27 namespace space { namespace in namespace:art::gc
36 std::ostream& operator<<(std::ostream& os, const Space& space) { argument
37 space.Dump(os);
87 // If the bitmaps are bound then sweeping this space clearly won't do anything.
136 AllocSpace::SweepCallbackContext::SweepCallbackContext(bool swap_bitmaps, space::Space* space) argument
137 : swap_bitmaps(swap_bitmaps), space(space), self(Thread::Current()) {
140 } // namespace space
[all...]
/art/runtime/base/
H A Dstringprintf.cc25 char space[1024]; local
32 int result = vsnprintf(space, sizeof(space), format, backup_ap);
35 if (result < static_cast<int>(sizeof(space))) {
38 dst->append(space, result);
/art/runtime/gc/collector/
H A Dimmune_region.cc19 #include "gc/space/space-inl.h"
35 bool ImmuneRegion::AddContinuousSpace(space::ContinuousSpace* space) { argument
37 if (space->GetLiveBitmap() != space->GetMarkBitmap()) {
38 CHECK(space->IsContinuousMemMapAllocSpace());
39 space->AsContinuousMemMapAllocSpace()->BindLiveToMarkBitmap();
41 mirror::Object* space_begin = reinterpret_cast<mirror::Object*>(space->Begin());
42 mirror::Object* space_limit = reinterpret_cast<mirror::Object*>(space
[all...]
H A Dimmune_region.h28 namespace space { namespace in namespace:art::gc
30 } // namespace space
43 bool AddContinuousSpace(space::ContinuousSpace* space)
45 bool ContainsSpace(const space::ContinuousSpace* space) const;
H A Dmark_compact.h51 namespace space { namespace in namespace:art::gc
55 } // namespace space
80 // Sets which space we will be copying objects in.
81 void SetSpace(space::BumpPointerSpace* space);
161 // Returns true if we should sweep the space.
162 bool ShouldSweepSpace(space::ContinuousSpace* space) const;
221 // Bump pointer space which we are collecting.
222 space
[all...]
/art/compiler/
H A Dimage_test.cc26 #include "gc/space/image_space.h"
118 gc::space::ContinuousSpace* space = heap->GetNonMovingSpace(); local
119 ASSERT_FALSE(space->IsImageSpace());
120 ASSERT_TRUE(space != NULL);
121 ASSERT_TRUE(space->IsMallocSpace());
122 ASSERT_GE(sizeof(image_header) + space->Size(), static_cast<size_t>(file->GetLength()));
166 gc::space::ImageSpace* image_space = heap->GetImageSpace();

Completed in 808 milliseconds

12