You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
memory_get_usage() / memory_get_peak_usage() VM builtins exist (ext/standard/memory_get_usage.php, ext/standard/VmMemory.php) but JIT/AOT link lib/AOT/runtime/phpc_memory.c (~66 lines) which reads mallinfo() directly. Self-host should use one PHP implementation (libc via thin FFI or existing VmMemory) and delete the C duplicate.
Activity
PurHur commentedon Jun 4, 2026
claim: PHP Runtime → PHP — starting this run.
PurHur commentedon Jun 4, 2026
claim: PHP Runtime → PHP — continuing MemoryRuntime migration (cherry-pick + verify + merge).
PurHur commentedon Jun 4, 2026
Merged via #5577.
Verification:
MemoryRuntimeStandaloneTestOK; VMmemory_get_usage/parity_memory_reset_peak_usagerepro green;phpc_memory.cremoved fromlib/AOT/Linker.php.C shrink: deleted
lib/AOT/runtime/phpc_memory.c(77 lines) +lib/JIT/Builtin/StringMemory.php(186 lines bitcode glue).php-in-php: memory introspection via MemoryRuntime, delete phpc_memor…