NetSurf
Data Fields
duk_heap Struct Reference
Collaboration diagram for duk_heap:
[legend]

Data Fields

duk_small_uint_t flags
 
duk_alloc_function alloc_func
 
duk_realloc_function realloc_func
 
duk_free_function free_func
 
void * heap_udata
 
duk_fatal_function fatal_func
 
duk_heaphdrheap_allocated
 
duk_heaphdrrefzero_list
 
duk_heaphdrfinalize_list
 
duk_activationactivation_free
 
duk_catchercatcher_free
 
duk_int_t ms_trigger_counter
 
duk_uint_t ms_recursion_depth
 
duk_small_uint_t ms_base_flags
 
duk_uint_t ms_running
 
duk_uint_t ms_prevent_count
 
duk_uint_t pf_prevent_count
 
duk_uint_t pf_skip_finalizers
 
duk_bool_t creating_error
 
duk_bool_t augmenting_error
 
duk_ljstate lj
 
duk_hthreadheap_thread
 
duk_hthreadcurr_thread
 
duk_hobjectheap_object
 
duk_int_t call_recursion_depth
 
duk_int_t call_recursion_limit
 
duk_uint32_t hash_seed
 
duk_uint32_t rnd_state
 
duk_uint32_t sym_counter [2]
 
duk_hstring ** strtable
 
duk_uint32_t st_mask
 
duk_uint32_t st_size
 
duk_uint32_t st_count
 
duk_bool_t st_resizing
 
duk_strcache_entry strcache [DUK_HEAP_STRCACHE_SIZE]
 
duk_litcache_entry litcache [DUK_USE_LITCACHE_SIZE]
 
duk_hstringstrs [DUK_HEAP_NUM_STRINGS]
 

Detailed Description

Definition at line 9295 of file duktape.c.

Field Documentation

◆ activation_free

duk_activation* duk_heap::activation_free

Definition at line 9342 of file duktape.c.

Referenced by duk__heap_free_activation_freelist(), and duk_hthread_activation_free().

◆ alloc_func

duk_alloc_function duk_heap::alloc_func

Definition at line 9299 of file duktape.c.

◆ augmenting_error

duk_bool_t duk_heap::augmenting_error

Definition at line 9421 of file duktape.c.

Referenced by duk__call_c_recursion_limit_check(), and duk__err_augment_user().

◆ call_recursion_depth

duk_int_t duk_heap::call_recursion_depth

◆ call_recursion_limit

duk_int_t duk_heap::call_recursion_limit

Definition at line 9438 of file duktape.c.

Referenced by duk__call_c_recursion_limit_check(), and duk__handle_call_raw().

◆ catcher_free

duk_catcher* duk_heap::catcher_free

Definition at line 9345 of file duktape.c.

Referenced by duk_hthread_catcher_free().

◆ creating_error

duk_bool_t duk_heap::creating_error

Definition at line 9414 of file duktape.c.

Referenced by duk_err_create_and_throw().

◆ curr_thread

duk_hthread* duk_heap::curr_thread

◆ fatal_func

duk_fatal_function duk_heap::fatal_func

Definition at line 9313 of file duktape.c.

◆ finalize_list

duk_heaphdr* duk_heap::finalize_list

◆ flags

duk_small_uint_t duk_heap::flags

Definition at line 9296 of file duktape.c.

◆ free_func

duk_free_function duk_heap::free_func

Definition at line 9301 of file duktape.c.

◆ hash_seed

duk_uint32_t duk_heap::hash_seed

Definition at line 9441 of file duktape.c.

◆ heap_allocated

duk_heaphdr* duk_heap::heap_allocated

Definition at line 9319 of file duktape.c.

Referenced by duk__mark_finalizable().

◆ heap_object

duk_hobject* duk_heap::heap_object

Definition at line 9434 of file duktape.c.

◆ heap_thread

duk_hthread* duk_heap::heap_thread

Definition at line 9428 of file duktape.c.

Referenced by duk__mark_finalizable(), and duk_heap_process_finalize_list().

◆ heap_udata

void* duk_heap::heap_udata

Definition at line 9306 of file duktape.c.

◆ litcache

Definition at line 9532 of file duktape.c.

◆ lj

duk_ljstate duk_heap::lj

◆ ms_base_flags

duk_small_uint_t duk_heap::ms_base_flags

Definition at line 9362 of file duktape.c.

Referenced by duk_hobject_realloc_props().

◆ ms_prevent_count

duk_uint_t duk_heap::ms_prevent_count

Definition at line 9380 of file duktape.c.

◆ ms_recursion_depth

duk_uint_t duk_heap::ms_recursion_depth

Definition at line 9359 of file duktape.c.

◆ ms_running

duk_uint_t duk_heap::ms_running

Definition at line 9372 of file duktape.c.

Referenced by duk_bi_thread_resume().

◆ ms_trigger_counter

duk_int_t duk_heap::ms_trigger_counter

Definition at line 9353 of file duktape.c.

◆ pf_prevent_count

duk_uint_t duk_heap::pf_prevent_count

◆ pf_skip_finalizers

duk_uint_t duk_heap::pf_skip_finalizers

Definition at line 9394 of file duktape.c.

Referenced by duk_heap_process_finalize_list().

◆ realloc_func

duk_realloc_function duk_heap::realloc_func

Definition at line 9300 of file duktape.c.

◆ refzero_list

duk_heaphdr* duk_heap::refzero_list

◆ rnd_state

duk_uint32_t duk_heap::rnd_state

Definition at line 9446 of file duktape.c.

◆ st_count

duk_uint32_t duk_heap::st_count

Definition at line 9518 of file duktape.c.

◆ st_mask

duk_uint32_t duk_heap::st_mask

Definition at line 9515 of file duktape.c.

◆ st_resizing

duk_bool_t duk_heap::st_resizing

Definition at line 9520 of file duktape.c.

◆ st_size

duk_uint32_t duk_heap::st_size

Definition at line 9516 of file duktape.c.

◆ strcache

Definition at line 9525 of file duktape.c.

Referenced by duk_heap_strcache_string_remove().

◆ strs

Definition at line 9542 of file duktape.c.

◆ strtable

duk_hstring** duk_heap::strtable

Definition at line 9513 of file duktape.c.

◆ sym_counter

duk_uint32_t duk_heap::sym_counter[2]

Definition at line 9457 of file duktape.c.

Referenced by duk_bi_symbol_constructor_shared().


The documentation for this struct was generated from the following file: