View Issue Details

IDProjectCategoryView StatusLast Update
0001507XdebugUncategorizedpublic2020-03-12 16:46
Reporterbeberlei Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.6.0beta1 
Target Version2.6.0Fixed in Version2.6.0rc1 
Summary0001507: Provide access to Zend Engine GC data

The Zend Engine stores two data points "gc_runs" (Number of gc runs) and "collected" (total number of collected roots) both of which are not exposed to userland and could provide a simple way for debugging tools to get a rough experience of what the GC is doing.

I propose to add two functions to expose this information:

xdebug_get_gc_run_count(): int
xdebug_get_gc_total_collected_roots(): int

TagsNo tags attached.
Operating System
PHP Version7.2.0-7.2.4


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-12-31 09:06 beberlei New Issue
2017-12-31 15:31 derick Status new => confirmed
2017-12-31 15:31 derick Target Version => 2.6.0
2017-12-31 16:20 derick Status confirmed => closed
2017-12-31 16:20 derick Assigned To => derick
2017-12-31 16:20 derick Resolution open => fixed
2017-12-31 16:20 derick Fixed in Version => 2.6.0
2018-01-22 18:21 derick Fixed in Version 2.6.0 => 2.6.0rc1
2020-03-12 16:46 derick Category Feature/Change request => Uncategorized