View Issue Details

IDProjectCategoryView StatusLast Update
0001507XdebugUncategorizedpublic2020-03-12 16:46
Reporterbeberlei Assigned To 
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
Description

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

Activities

There are no notes attached to this issue.