php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
_zend_mm_heap Struct Reference

Data Fields

int use_custom_heap
 
zend_mm_storagestorage
 
size_t size
 
size_t peak
 
uintptr_t shadow_key
 
zend_mm_free_slotfree_slot [ZEND_MM_BINS]
 
size_t real_size
 
size_t real_peak
 
size_t limit
 
int overflow
 
zend_mm_huge_listhuge_list
 
zend_mm_chunkmain_chunk
 
zend_mm_chunkcached_chunks
 
int chunks_count
 
int peak_chunks_count
 
int cached_chunks_count
 
double avg_chunks_count
 
int last_chunks_delete_boundary
 
int last_chunks_delete_count
 
struct { 
 
   void *(*   _malloc )(size_t ZEND_FILE_LINE_DC
      ZEND_FILE_LINE_ORIG_DC
 
   void(*   _free )(void *ZEND_FILE_LINE_DC
      ZEND_FILE_LINE_ORIG_DC
 
   void *(*   _realloc )(void *, size_t
      ZEND_FILE_LINE_DC
      ZEND_FILE_LINE_ORIG_DC
 
   size_t(*   _gc )(void
 
   void(*   _shutdown )(bool full, bool silent) 
 
custom_heap 
 
HashTabletracked_allocs
 
pid_t pid
 
zend_random_bytes_insecure_state rand_state
 

Detailed Description

Definition at line 266 of file zend_alloc.c.

Field Documentation

◆ _free

void(* _zend_mm_heap::_free) (void *ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 303 of file zend_alloc.c.

◆ _gc

size_t(* _zend_mm_heap::_gc) (void)

Definition at line 305 of file zend_alloc.c.

◆ _malloc

void *(* _zend_mm_heap::_malloc) (size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 302 of file zend_alloc.c.

◆ _realloc

void *(* _zend_mm_heap::_realloc) (void *, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 304 of file zend_alloc.c.

◆ _shutdown

void(* _zend_mm_heap::_shutdown) (bool full, bool silent)

Definition at line 306 of file zend_alloc.c.

◆ avg_chunks_count

double _zend_mm_heap::avg_chunks_count

Definition at line 297 of file zend_alloc.c.

◆ cached_chunks

zend_mm_chunk* _zend_mm_heap::cached_chunks

Definition at line 293 of file zend_alloc.c.

◆ cached_chunks_count

int _zend_mm_heap::cached_chunks_count

Definition at line 296 of file zend_alloc.c.

◆ chunks_count

int _zend_mm_heap::chunks_count

Definition at line 294 of file zend_alloc.c.

◆ [struct]

struct { ... } _zend_mm_heap::custom_heap

◆ free_slot

zend_mm_free_slot* _zend_mm_heap::free_slot[ZEND_MM_BINS]

Definition at line 278 of file zend_alloc.c.

◆ huge_list

zend_mm_huge_list* _zend_mm_heap::huge_list

Definition at line 290 of file zend_alloc.c.

◆ last_chunks_delete_boundary

int _zend_mm_heap::last_chunks_delete_boundary

Definition at line 298 of file zend_alloc.c.

◆ last_chunks_delete_count

int _zend_mm_heap::last_chunks_delete_count

Definition at line 299 of file zend_alloc.c.

◆ limit

size_t _zend_mm_heap::limit

Definition at line 286 of file zend_alloc.c.

◆ main_chunk

zend_mm_chunk* _zend_mm_heap::main_chunk

Definition at line 292 of file zend_alloc.c.

◆ overflow

int _zend_mm_heap::overflow

Definition at line 287 of file zend_alloc.c.

◆ peak

size_t _zend_mm_heap::peak

Definition at line 275 of file zend_alloc.c.

◆ peak_chunks_count

int _zend_mm_heap::peak_chunks_count

Definition at line 295 of file zend_alloc.c.

◆ pid

pid_t _zend_mm_heap::pid

Definition at line 310 of file zend_alloc.c.

◆ rand_state

zend_random_bytes_insecure_state _zend_mm_heap::rand_state

Definition at line 311 of file zend_alloc.c.

◆ real_peak

size_t _zend_mm_heap::real_peak

Definition at line 283 of file zend_alloc.c.

◆ real_size

size_t _zend_mm_heap::real_size

Definition at line 280 of file zend_alloc.c.

◆ shadow_key

uintptr_t _zend_mm_heap::shadow_key

Definition at line 277 of file zend_alloc.c.

◆ size

size_t _zend_mm_heap::size

Definition at line 274 of file zend_alloc.c.

◆ storage

zend_mm_storage* _zend_mm_heap::storage

Definition at line 271 of file zend_alloc.c.

◆ tracked_allocs

HashTable* _zend_mm_heap::tracked_allocs

Definition at line 308 of file zend_alloc.c.

◆ use_custom_heap

int _zend_mm_heap::use_custom_heap

Definition at line 268 of file zend_alloc.c.


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