HomeSort by relevance Sort by last modified time
    Searched full:rosalloc (Results 1 - 25 of 37) sorted by null

1 2

  /art/tools/cpp-define-generator/
constant_rosalloc.def 17 // Constants within RosAlloc.
20 #include "gc/allocator/rosalloc.h" // art::gc::allocator::RosAlloc
26 DEFINE_ROSALLOC_CONSTANT(MAX_THREAD_LOCAL_BRACKET_SIZE, int32_t, art::gc::allocator::RosAlloc::kMaxThreadLocalBracketSize)
27 DEFINE_ROSALLOC_CONSTANT(BRACKET_QUANTUM_SIZE_SHIFT, int32_t, art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSizeShift)
29 DEFINE_ROSALLOC_CONSTANT(BRACKET_QUANTUM_SIZE_MASK, int32_t, static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))
31 uint32_t, ~static_cast<uint32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))
33 uint64_t, ~static_cast<uint64_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))
34 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListOffset())
35 DEFINE_ROSALLOC_CONSTANT(RUN_FREE_LIST_HEAD_OFFSET, int32_t, art::gc::allocator::RosAlloc::RunFreeListHeadOffset()
    [all...]
  /art/runtime/gc/allocator/
rosalloc-inl.h 20 #include "rosalloc.h"
26 inline ALWAYS_INLINE bool RosAlloc::ShouldCheckZeroMemory() {
31 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated,
55 inline bool RosAlloc::Run::IsFull() {
59 inline bool RosAlloc::CanAllocFromThreadLocalRun(Thread* self, size_t size) {
78 inline void* RosAlloc::AllocFromThreadLocalRun(Thread* self, size_t size,
102 inline size_t RosAlloc::MaxBytesBulkAllocatedFor(size_t size) {
111 inline void* RosAlloc::Run::AllocSlot() {
115 LOG(INFO) << "RosAlloc::Run::AllocSlot() : " << slot
rosalloc.h 45 class RosAlloc {
55 size_t ByteSize(RosAlloc* rosalloc) const REQUIRES(rosalloc->lock_) {
57 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base);
58 size_t byte_size = rosalloc->free_page_run_size_map_[pm_idx];
63 void SetByteSize(RosAlloc* rosalloc, size_t byte_size)
64 REQUIRES(rosalloc->lock_) {
67 size_t pm_idx = rosalloc->ToPageMapIndex(fpr_base)
    [all...]
rosalloc.cc 17 #include "rosalloc.h"
47 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets];
48 size_t RosAlloc::numOfPages[kNumOfSizeBrackets];
49 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets];
50 size_t RosAlloc::headerSizes[kNumOfSizeBrackets];
51 bool RosAlloc::initialized_ = false;
52 size_t RosAlloc::dedicated_full_run_storage_[kPageSize / sizeof(size_t)] = { 0 };
53 RosAlloc::Run* RosAlloc::dedicated_full_run_ =
54 reinterpret_cast<RosAlloc::Run*>(dedicated_full_run_storage_)
    [all...]
  /art/runtime/gc/space/
rosalloc_space.cc 45 // template class MemoryToolMallocSpace<RosAllocSpace, allocator::RosAlloc*>;
48 art::gc::allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end,
53 rosalloc_(rosalloc), low_memory_mode_(low_memory_mode) {
54 CHECK(rosalloc != nullptr);
65 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size, local
67 if (rosalloc == nullptr) {
68 LOG(ERROR) << "Failed to initialize rosalloc for alloc space (" << name << ")";
84 mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, growth_limit
142 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc( local
    [all...]
rosalloc_space.h 20 #include "gc/allocator/rosalloc.h"
73 // RosAlloc zeroes memory internally.
80 // RosAlloc zeroes memory internally. Pass in false for thread unsafe.
102 allocator::RosAlloc* GetRosAlloc() const {
151 allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, uint8_t* limit,
165 static allocator::RosAlloc* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size,
177 // Underlying rosalloc.
178 allocator::RosAlloc* rosalloc_;
rosalloc_space-inl.h 23 #include "gc/allocator/rosalloc-inl.h"
memory_tool_malloc_space-inl.h 67 // At the moment, this fits RosAlloc (no management data in a slot, usable_size == alloc_size)
malloc_space.cc 167 // For RosAlloc, revoke thread local runs before creating a new
space_test.h 279 // below. For RosAlloc, revoke thread-local runs, which are kept
  /art/runtime/arch/
quick_alloc_entrypoints.S 43 GENERATE_ALLOC_ENTRYPOINTS _rosalloc, RosAlloc
142 // GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_RESOLVED(_rosalloc, RosAlloc)
143 // GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_INITIALIZED(_rosalloc, RosAlloc)
144 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_WITH_ACCESS_CHECK(_rosalloc, RosAlloc)
145 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED(_rosalloc, RosAlloc)
146 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED8(_rosalloc, RosAlloc)
147 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED16(_rosalloc, RosAlloc)
148 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED32(_rosalloc, RosAlloc)
149 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED64(_rosalloc, RosAlloc)
150 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_STRING_FROM_BYTES(_rosalloc, RosAlloc)
    [all...]
  /art/runtime/gc/
heap-visit-objects-inl.h 118 // For speed reasons, only perform it when Rosalloc could possibly be used.
119 // (Disabled for read barriers because it never uses Rosalloc).
122 // Rosalloc has a race in allocation. Objects can be written into the allocation
127 // to a rosalloc free buffer.
132 // A rosalloc free buffer will point to another rosalloc free buffer
145 // Ensure the invariant is not broken for non-rosalloc cases.
147 << "unexpected rosalloc with read barriers";
allocator_type.h 29 kAllocatorTypeRosAlloc, // Use RosAlloc allocator, has entrypoints.
heap.h 93 class RosAlloc;
122 // If true, use rosalloc/RosAllocSpace instead of dlmalloc/DlMallocSpace
659 // Return the corresponding rosalloc space.
660 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const
    [all...]
heap.cc 117 static const char* kRosAllocSpaceName[2] = {"main rosalloc space", "main rosalloc space 1"};
134 // Dump the rosalloc stats on SIGQUIT.
424 // active rosalloc spaces.
665 // Create rosalloc space.
    [all...]
  /art/runtime/generated/
asm_support_gen.h 132 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_MAX_THREAD_LOCAL_BRACKET_SIZE), (static_cast<int32_t>((art::gc::allocator::RosAlloc::kMaxThreadLocalBracketSize))))
134 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_BRACKET_QUANTUM_SIZE_SHIFT), (static_cast<int32_t>((art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSizeShift))))
136 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_BRACKET_QUANTUM_SIZE_MASK), (static_cast<int32_t>((static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)))))
138 DEFINE_CHECK_EQ(static_cast<uint32_t>(ROSALLOC_BRACKET_QUANTUM_SIZE_MASK_TOGGLED32), (static_cast<uint32_t>((~static_cast<uint32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)))))
140 DEFINE_CHECK_EQ(static_cast<uint64_t>(ROSALLOC_BRACKET_QUANTUM_SIZE_MASK_TOGGLED64), (static_cast<uint64_t>((~static_cast<uint64_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)))))
142 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_RUN_FREE_LIST_OFFSET), (static_cast<int32_t>((art::gc::allocator::RosAlloc::RunFreeListOffset()))))
144 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_RUN_FREE_LIST_HEAD_OFFSET), (static_cast<int32_t>((art::gc::allocator::RosAlloc::RunFreeListHeadOffset()))))
146 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_RUN_FREE_LIST_SIZE_OFFSET), (static_cast<int32_t>((art::gc::allocator::RosAlloc::RunFreeListSizeOffset()))))
148 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_SLOT_NEXT_OFFSET), (static_cast<int32_t>((art::gc::allocator::RosAlloc::RunSlotNextOffset()))))
  /art/runtime/
asm_support_check.h 24 #include "gc/allocator/rosalloc.h"
Android.bp 59 "gc/allocator/rosalloc.cc",
435 "gc/allocator/rosalloc.h",
  /art/runtime/entrypoints/quick/
quick_alloc_entrypoints.cc 125 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(RosAlloc, gc::kAllocatorTypeRosAlloc)
  /art/runtime/arch/arm/
quick_entrypoints_arm.S     [all...]
  /system/core/libunwindstack/tests/files/offline/jit_debug_arm/
libartd.so 
libart.so 
  /system/core/libunwindstack/tests/files/offline/jit_debug_x86/
libartd.so 
  /system/core/libunwindstack/tests/files/offline/art_quick_osr_stub_arm/
libart.so 
  /art/runtime/arch/mips/
quick_entrypoints_mips.S     [all...]

Completed in 309 milliseconds

1 2