Home
last modified time | relevance | path

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

/php-src/Zend/tests/
H A Dgh13670_001.phpt5 // gc_threshold is global state
H A Dgh13670_002.phpt5 // gc_threshold is global state
H A Dgh13670_003.phpt5 // gc_threshold is global state
/php-src/Zend/
H A Dzend_gc.c234 (GC_G(first_unused) < GC_G(gc_threshold))
256 uint32_t gc_threshold; /* GC collection threshold */ member
481 gc_globals->gc_threshold = GC_INVALID; in gc_globals_ctor_ex()
556 GC_G(gc_threshold) = GC_THRESHOLD_DEFAULT; in gc_enable()
613 if (GC_G(gc_threshold) < GC_THRESHOLD_MAX) { in gc_adjust_threshold()
614 new_threshold = GC_G(gc_threshold) + GC_THRESHOLD_STEP; in gc_adjust_threshold()
622 GC_G(gc_threshold) = new_threshold; in gc_adjust_threshold()
625 } else if (GC_G(gc_threshold) > GC_THRESHOLD_DEFAULT) { in gc_adjust_threshold()
626 new_threshold = GC_G(gc_threshold) - GC_THRESHOLD_STEP; in gc_adjust_threshold()
630 GC_G(gc_threshold) = new_threshold; in gc_adjust_threshold()
[all …]

Completed in 11 milliseconds