Home
last modified time | relevance | path

Searched refs:number_of_roots (Results 1 – 3 of 3) sorted by relevance

/art/runtime/jit/
Djit_memory_region.h45 uint32_t inline ComputeRootTableSize(uint32_t number_of_roots) { in ComputeRootTableSize() argument
46 return sizeof(uint32_t) + number_of_roots * sizeof(GcRoot<mirror::Object>); in ComputeRootTableSize()
Djit_code_cache.cc417 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
421 if (number_of_roots != nullptr) { in GetRootTable()
422 *number_of_roots = roots; in GetRootTable()
430 uint32_t number_of_roots = 0; in SweepRootTables() local
431 const uint8_t* root_table = GetRootTable(entry.first, &number_of_roots); in SweepRootTables()
436 for (uint32_t i = 0; i < number_of_roots; ++i) { in SweepRootTables()
969 size_t number_of_roots, in Reserve() argument
974 size_t data_size = RoundUp(ComputeRootTableSize(number_of_roots) + stack_map_size, sizeof(void*)); in Reserve()
Djit_code_cache.h247 size_t number_of_roots,