OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:rosalloc
(Results
1 - 25
of
31
) sorted by null
1
2
/art/runtime/gc/space/
rosalloc_space.cc
43
// template class MemoryToolMallocSpace<RosAllocSpace, allocator::
RosAlloc
*>;
46
art::gc::allocator::
RosAlloc
*
rosalloc
, uint8_t* begin, uint8_t* end,
51
rosalloc_(
rosalloc
), low_memory_mode_(low_memory_mode) {
52
CHECK(
rosalloc
!= nullptr);
63
allocator::
RosAlloc
*
rosalloc
= CreateRosAlloc(mem_map->Begin(), starting_size, initial_size,
local
65
if (
rosalloc
== nullptr) {
66
LOG(ERROR) << "Failed to initialize
rosalloc
for alloc space (" << name << ")";
82
mem_map, initial_size, name,
rosalloc
, begin, end, begin + capacity, growth_limit
140
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
21
#include "gc/allocator/
rosalloc
-inl.h"
memory_tool_malloc_space-inl.h
65
// At the moment, this fits
RosAlloc
(no management data in a slot, usable_size == alloc_size)
malloc_space.cc
162
// For
RosAlloc
, revoke thread local runs before creating a new
space_test.h
282
// below. For
RosAlloc
, revoke thread-local runs, which are kept
/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
44
class
RosAlloc
{
54
size_t ByteSize(
RosAlloc
*
rosalloc
) const REQUIRES(
rosalloc
->lock_) {
56
size_t pm_idx =
rosalloc
->ToPageMapIndex(fpr_base);
57
size_t byte_size =
rosalloc
->free_page_run_size_map_[pm_idx];
62
void SetByteSize(
RosAlloc
*
rosalloc
, size_t byte_size)
63
REQUIRES(
rosalloc
->lock_) {
66
size_t pm_idx =
rosalloc
->ToPageMapIndex(fpr_base)
[
all
...]
rosalloc.cc
17
#include "
rosalloc
.h"
42
size_t
RosAlloc
::bracketSizes[kNumOfSizeBrackets];
43
size_t
RosAlloc
::numOfPages[kNumOfSizeBrackets];
44
size_t
RosAlloc
::numOfSlots[kNumOfSizeBrackets];
45
size_t
RosAlloc
::headerSizes[kNumOfSizeBrackets];
46
bool
RosAlloc
::initialized_ = false;
47
size_t
RosAlloc
::dedicated_full_run_storage_[kPageSize / sizeof(size_t)] = { 0 };
48
RosAlloc
::Run*
RosAlloc
::dedicated_full_run_ =
49
reinterpret_cast<
RosAlloc
::Run*>(dedicated_full_run_storage_)
[
all
...]
/art/runtime/arch/
quick_alloc_entrypoints.S
49
GENERATE_ALLOC_ENTRYPOINTS _rosalloc,
RosAlloc
117
// GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT(_rosalloc,
RosAlloc
)
118
GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_RESOLVED(_rosalloc,
RosAlloc
)
119
GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_INITIALIZED(_rosalloc,
RosAlloc
)
120
GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_WITH_ACCESS_CHECK(_rosalloc,
RosAlloc
)
121
GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY(_rosalloc,
RosAlloc
)
122
GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED(_rosalloc,
RosAlloc
)
123
GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc,
RosAlloc
)
124
GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY(_rosalloc,
RosAlloc
)
125
GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc,
RosAlloc
)
[
all
...]
/art/runtime/gc/
allocator_type.h
29
kAllocatorTypeRosAlloc, // Use
RosAlloc
allocator, has entrypoints.
heap.h
78
class
RosAlloc
;
114
// If true, use
rosalloc
/RosAllocSpace instead of dlmalloc/DlMallocSpace
620
// Return the corresponding
rosalloc
space.
621
space::RosAllocSpace* GetRosAllocSpace(gc::allocator::
RosAlloc
*
rosalloc
) const
[
all
...]