Searched refs:malloc_size (Results 1 – 4 of 4) sorted by relevance
124 return malloc_size(ptr); in js_trace_malloc_usable_size()185 if (unlikely(s->malloc_size + size > s->malloc_limit)) in js_trace_malloc()191 s->malloc_size += js_trace_malloc_usable_size(ptr) + MALLOC_OVERHEAD; in js_trace_malloc()203 s->malloc_size -= js_trace_malloc_usable_size(ptr) + MALLOC_OVERHEAD; in js_trace_free()220 s->malloc_size -= old_size + MALLOC_OVERHEAD; in js_trace_realloc()224 if (s->malloc_size + size - old_size > s->malloc_limit) in js_trace_realloc()232 s->malloc_size += js_trace_malloc_usable_size(ptr) - old_size; in js_trace_realloc()242 malloc_size,
1453 if (stats_max.malloc_size < stats.malloc_size) { in update_stats()1458 if (stats_min.malloc_size > stats.malloc_size) { in update_stats()1466 update(malloc_size); in update_stats()
317 size_t malloc_size; member396 int64_t malloc_size, malloc_limit, memory_used_size; member
1267 force_gc = ((rt->malloc_state.malloc_size + size) > in js_trigger_gc()1273 (uint64_t)rt->malloc_state.malloc_size); in js_trigger_gc()1276 rt->malloc_gc_threshold = rt->malloc_state.malloc_size + in js_trigger_gc()1683 return malloc_size(ptr); in js_def_malloc_usable_size()1706 if (unlikely(s->malloc_size + size > s->malloc_limit)) in js_def_malloc()1740 s->malloc_size -= old_size + MALLOC_OVERHEAD; in js_def_realloc()1744 if (s->malloc_size + size - old_size > s->malloc_limit) in js_def_realloc()1751 s->malloc_size += js_def_malloc_usable_size(ptr) - old_size; in js_def_realloc()1762 malloc_size,5888 s->malloc_size = rt->malloc_state.malloc_size; in JS_ComputeMemoryUsage()[all …]
Completed in 106 milliseconds