Home
last modified time | relevance | path

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

/dalvik/vm/compiler/
DUtility.cpp20 static ArenaMemBlock *arenaHead, *currentArena; variable
34 currentArena = arenaHead; in dvmCompilerHeapInit()
35 currentArena->bytesAllocated = 0; in dvmCompilerHeapInit()
36 currentArena->next = NULL; in dvmCompilerHeapInit()
48 if (size + currentArena->bytesAllocated <= currentArena->blockSize) { in dvmCompilerNew()
50 ptr = &currentArena->ptr[currentArena->bytesAllocated]; in dvmCompilerNew()
51 currentArena->bytesAllocated += size; in dvmCompilerNew()
61 if (currentArena->next) { in dvmCompilerNew()
62 currentArena = currentArena->next; in dvmCompilerNew()
78 currentArena->next = newArena; in dvmCompilerNew()
[all …]