Searched refs:limit (Results 1 - 25 of 29) sorted by relevance

12

/art/runtime/arch/arm64/
H A Dmemcmp16_arm64.S30 #define limit x2 define
51 cbz limit, .Lret0
52 lsl limit, limit, #1 /* Half-words to bytes. */
58 add limit_wd, limit, #7
71 /* Not reached the limit, must have found a diff. */
75 ands limit, limit, #7
78 lsl limit, limit, #
[all...]
H A Dfault_handler_arm64.cc133 uint8_t* limit = ptr1 - 80; // Compiler will hoist to a max of 20 instructions. local
135 while (ptr1 > limit) {
/art/runtime/arch/x86/
H A Dthread_x86.cc34 unsigned limit: 4, avl: 1, l: 1, d: 1, g: 1, base2: 8; member in struct:descriptor_table_entry_t
48 const size_t limit = sizeof(Thread); local
63 entry.limit0 = (limit & 0x0ffff);
64 entry.limit = (limit & 0xf0000) >> 16;
106 gdt_entry.limit = limit;
H A Dfault_handler_x86.cc366 uint8_t* limit = pc - 100; // Compiler will hoist to a max of 20 instructions. local
369 while (ptr > limit) {
/art/runtime/gc/space/
H A Dspace.h290 void SetLimit(uint8_t* limit) { argument
291 limit_ = limit;
326 uint8_t* begin, uint8_t* end, uint8_t* limit) :
327 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) {
374 // Size of the space without a limit on its growth. By default this is just the Capacity, but
393 MemMapSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end, uint8_t* limit, argument
395 : ContinuousSpace(name, gc_retention_policy, begin, end, limit),
449 uint8_t* end, uint8_t* limit, GcRetentionPolicy gc_retention_policy)
450 : MemMapSpace(name, mem_map, begin, end, limit, gc_retention_policy) {
325 ContinuousSpace(const std::string& name, GcRetentionPolicy gc_retention_policy, uint8_t* begin, uint8_t* end, uint8_t* limit) argument
448 ContinuousMemMapAllocSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end, uint8_t* limit, GcRetentionPolicy gc_retention_policy) argument
H A Ddlmalloc_space.h117 // MoreCore. Note this is used to stop the mspace growing beyond the limit to Capacity. When
118 // allocations fail we GC before increasing the footprint limit and allowing the mspace to grow.
119 void SetFootprintLimit(size_t limit) OVERRIDE;
122 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit,
143 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit,
H A Dmalloc_space.h98 // MoreCore. Note this is used to stop the mspace growing beyond the limit to Capacity. When
99 // allocations fail we GC before increasing the footprint limit and allowing the mspace to grow.
100 virtual void SetFootprintLimit(size_t limit) = 0;
102 // Removes the fork time growth limit on capacity, allowing the application to allocate up to the
118 // Change the non growth limit capacity by shrinking or expanding the map. Currently, only
127 uint8_t* begin, uint8_t* end, uint8_t* limit,
151 uint8_t* limit, size_t growth_limit, bool create_bitmaps, bool can_move_objects,
183 // limit is a value <= to the mem_map_ capacity used for ergonomic reasons because of the zygote.
H A Drosalloc_space.h110 void SetFootprintLimit(size_t limit) OVERRIDE;
115 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit,
151 allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, uint8_t* limit,
H A Ddlmalloc_space.cc40 void* mspace, uint8_t* begin, uint8_t* end, uint8_t* limit,
42 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
93 // size of the large allocation) will be greater than the footprint limit.
155 uint8_t* limit, size_t growth_limit,
159 mem_map, initial_size_, name, allocator, begin, end, limit, growth_limit,
162 return new DlMallocSpace(mem_map, initial_size_, name, allocator, begin, end, limit,
39 DlMallocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, void* mspace, uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, bool can_move_objects, size_t starting_size) argument
153 CreateInstance(MemMap* mem_map, const std::string& name, void* allocator, uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, bool can_move_objects) argument
H A Drosalloc_space.cc47 uint8_t* limit, size_t growth_limit, bool can_move_objects,
49 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
110 // size of the large allocation) will be greater than the footprint limit.
178 uint8_t* limit, size_t growth_limit,
183 limit, growth_limit, can_move_objects, starting_size_, low_memory_mode_);
186 reinterpret_cast<allocator::RosAlloc*>(allocator), begin, end, limit,
45 RosAllocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, art::gc::allocator::RosAlloc* rosalloc, uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, bool can_move_objects, size_t starting_size, bool low_memory_mode) argument
176 CreateInstance(MemMap* mem_map, const std::string& name, void* allocator, uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, bool can_move_objects) argument
H A Dbump_pointer_space.cc46 BumpPointerSpace::BumpPointerSpace(const std::string& name, uint8_t* begin, uint8_t* limit) argument
47 : ContinuousMemMapAllocSpace(name, nullptr, begin, begin, limit,
49 growth_end_(limit),
H A Dlarge_object_space_test.cc88 size_t limit = phase == 0 ? requests.size() / 2 : 0; local
89 while (requests.size() > limit) {
H A Dmalloc_space.cc39 uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit,
42 : ContinuousMemMapAllocSpace(name, mem_map, begin, end, limit, kGcRetentionPolicyAlwaysCollect),
81 LOG(ERROR) << "Failed to create alloc space (" << name << ") where the growth limit capacity ("
87 // Page align growth limit and capacity which will be used to manage mmapped storage
176 // Use mem map limit in case error for clear growth limit.
225 << ",limit=" << reinterpret_cast<void*>(Limit())
38 MallocSpace(const std::string& name, MemMap* mem_map, uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, bool create_bitmaps, bool can_move_objects, size_t starting_size, size_t initial_size) argument
H A Dbump_pointer_space.h77 // Removes the fork time growth limit on capacity, allowing the application to allocate up to the
131 BumpPointerSpace(const std::string& name, uint8_t* begin, uint8_t* limit);
/art/test/070-nio-buffer/src/
H A DMain.java161 char[] outBuf = new char[directBuf.limit() * 2];
162 for (int i = 0; i < directBuf.limit(); i++) {
/art/runtime/base/
H A Dhistogram-inl.h73 const size_t limit = frequency_.size() / 2; local
75 for (size_t i = 0; i < limit; ++i) {
79 while (frequency_.size() > limit) {
H A Dbit_utils.h216 T limit = static_cast<T>(1) << (N - 1u); local
217 return (-limit <= value) && (value < limit);
/art/compiler/driver/
H A Dcompiler_options.h151 void SetInlineDepthLimit(size_t limit) { argument
152 inline_depth_limit_ = limit;
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc160 uint8_t* limit = ptr1 - 40; // Compiler will hoist to a max of 20 instructions. local
162 while (ptr1 > limit) {
/art/runtime/
H A Ddex_file_verifier.h52 // Checks whether the size is less than the limit.
53 bool CheckSizeLimit(uint32_t size, uint32_t limit, const char* label);
54 bool CheckIndex(uint32_t field, uint32_t limit, const char* label);
/art/runtime/gc/accounting/
H A Datomic_stack.h222 bool AtomicPushBackInternal(T* value, size_t limit) ALWAYS_INLINE
230 if (UNLIKELY(static_cast<size_t>(index) >= limit)) {
/art/runtime/entrypoints/quick/
H A Dquick_default_externs.h119 extern "C" void art_quick_throw_array_bounds(int32_t index, int32_t limit);
/art/compiler/
H A Dcommon_compiler_test.cc103 uintptr_t limit = RoundUp(data + code_length, kPageSize); local
104 uintptr_t len = limit - base;
/art/compiler/utils/
H A Dassembler.h181 if (buffer->cursor() > buffer->limit()) {
187 // limit implied by the minimum gap size.
222 if (buffer->cursor() > buffer->limit()) {
248 // The limit is set to kMinimumGap bytes before the end of the data area.
266 uint8_t* limit() const { return limit_; } function in class:art::AssemblerBuffer
272 // Compute the limit based on the data area and the capacity. See
/art/runtime/gc/collector/
H A Dsemi_space.cc476 const uint8_t* limit = byte_src + size; local
485 while (byte_src + kPageSize < limit) {
504 memcpy(byte_dest, byte_src, limit - byte_src);

Completed in 5854 milliseconds

12