Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c95 JERRY_CONTEXT (jmem_heap_limit) = CONFIG_GC_LIMIT; in jmem_heap_init()
155 if (JERRY_CONTEXT (jmem_heap_allocated_size) >= JERRY_CONTEXT (jmem_heap_limit)) in jmem_heap_alloc()
157 JERRY_CONTEXT (jmem_heap_limit) += CONFIG_GC_LIMIT; in jmem_heap_alloc()
238 while (JERRY_CONTEXT (jmem_heap_allocated_size) >= JERRY_CONTEXT (jmem_heap_limit)) in jmem_heap_alloc()
240 JERRY_CONTEXT (jmem_heap_limit) += CONFIG_GC_LIMIT; in jmem_heap_alloc()
262 while (JERRY_CONTEXT (jmem_heap_allocated_size) >= JERRY_CONTEXT (jmem_heap_limit)) in jmem_heap_alloc()
264 JERRY_CONTEXT (jmem_heap_limit) += CONFIG_GC_LIMIT; in jmem_heap_alloc()
295 if (JERRY_CONTEXT (jmem_heap_allocated_size) + size >= JERRY_CONTEXT (jmem_heap_limit)) in jmem_heap_gc_and_alloc_block()
470 JERRY_ASSERT (JERRY_CONTEXT (jmem_heap_limit) >= JERRY_CONTEXT (jmem_heap_allocated_size)); in jmem_heap_free_block_internal()
491 …ile (JERRY_CONTEXT (jmem_heap_allocated_size) + CONFIG_GC_LIMIT <= JERRY_CONTEXT (jmem_heap_limit)) in jmem_heap_free_block_internal()
[all …]
/third_party/jerryscript/jerry-core/jcontext/
Djcontext.h163 size_t jmem_heap_limit; /**< current limit of heap usage, that is upon being reached, member