OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rosalloc
(Results
1 - 7
of
7
) sorted by null
/art/runtime/gc/allocator/
rosalloc.h
41
class
RosAlloc
{
51
size_t ByteSize(
RosAlloc
*
rosalloc
) const EXCLUSIVE_LOCKS_REQUIRED(
rosalloc
->lock_) {
53
size_t pm_idx =
rosalloc
->ToPageMapIndex(fpr_base);
54
size_t byte_size =
rosalloc
->free_page_run_size_map_[pm_idx];
59
void SetByteSize(
RosAlloc
*
rosalloc
, size_t byte_size)
60
EXCLUSIVE_LOCKS_REQUIRED(
rosalloc
->lock_) {
63
size_t pm_idx =
rosalloc
->ToPageMapIndex(fpr_base)
[
all
...]
rosalloc.cc
23
#include "
rosalloc
.h"
33
extern "C" void* art_heap_rosalloc_morecore(
RosAlloc
*
rosalloc
, intptr_t increment);
39
size_t
RosAlloc
::bracketSizes[kNumOfSizeBrackets];
40
size_t
RosAlloc
::numOfPages[kNumOfSizeBrackets];
41
size_t
RosAlloc
::numOfSlots[kNumOfSizeBrackets];
42
size_t
RosAlloc
::headerSizes[kNumOfSizeBrackets];
43
size_t
RosAlloc
::bulkFreeBitMapOffsets[kNumOfSizeBrackets];
44
size_t
RosAlloc
::threadLocalFreeBitMapOffsets[kNumOfSizeBrackets];
45
bool
RosAlloc
::initialized_ = false
[
all
...]
/art/runtime/gc/space/
rosalloc_space.cc
42
// template class ValgrindMallocSpace<RosAllocSpace, allocator::
RosAlloc
*>;
45
art::gc::allocator::
RosAlloc
*
rosalloc
, byte* begin, byte* end,
50
rosalloc_(
rosalloc
), low_memory_mode_(low_memory_mode) {
51
CHECK(
rosalloc
!= nullptr);
59
allocator::
RosAlloc
*
rosalloc
= CreateRosAlloc(mem_map->Begin(), starting_size, initial_size,
local
61
if (
rosalloc
== NULL) {
62
LOG(ERROR) << "Failed to initialize
rosalloc
for alloc space (" << name << ")";
79
return new RosAllocSpace(name, mem_map,
rosalloc
, begin, end, begin + capacity, growth_limit
133
allocator::RosAlloc*
rosalloc
= new art::gc::allocator::RosAlloc(
local
[
all
...]
rosalloc_space.h
20
#include "gc/allocator/
rosalloc
.h"
70
//
RosAlloc
zeroes memory internally.
75
//
RosAlloc
zeroes memory internally. Pass in false for thread unsafe.
83
allocator::
RosAlloc
* GetRosAlloc() const {
128
RosAllocSpace(const std::string& name, MemMap* mem_map, allocator::
RosAlloc
*
rosalloc
,
141
static allocator::
RosAlloc
* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size,
152
// Underlying
rosalloc
.
153
allocator::
RosAlloc
* rosalloc_;
/art/runtime/
Android.mk
48
gc/allocator/
rosalloc
.cc \
/art/runtime/gc/
heap.h
76
class
RosAlloc
;
113
// If true, use
rosalloc
/RosAllocSpace instead of dlmalloc/DlMallocSpace
529
// Return the corresponding
rosalloc
space.
530
space::RosAllocSpace* GetRosAllocSpace(gc::allocator::
RosAlloc
*
rosalloc
) const;
733
// Create the main free list malloc space, either a
RosAlloc
space or DlMalloc space.
[
all
...]
heap.cc
101
static const char* kRosAllocSpaceName[2] = {"main
rosalloc
space", "main
rosalloc
space 1"};
305
// active
rosalloc
spaces.
472
// Create
rosalloc
space.
[
all
...]
Completed in 193 milliseconds