Skip to content

php-in-php: lazy ProcessIdentity/gettimeofday/getrusage/net/ListUnpack Type::initialize (#34327) - #34328

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-34327-lazy-type-init-process-identity
Aug 24, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/issue-34327-lazy-type-init-process-identity

Conversation

@PurHur

@PurHur PurHur commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

php-src reference

  • ext/standard/basic_functions.c — getmypid/getmyuid/getmygid, gettimeofday, getrusage

Test plan

  • ./script/phpunit.sh --filter 'TypeDeadTypeInitializeLazyProcessIdentityRuntimeShrinkTest|TypeDeadTypeInitializeLazyEnvSleepRuntimeShrinkTest|TypeDeadMicrotimeGettimeofdayAbiRuntimeShrinkTest|TypeDeadStatMktimeGetrusageAbiRuntimeShrinkTest|TimeRuntimeShrinkTest' → OK (47 tests, 253 assertions)
  • ./script/aot-smoke.sh → 8 passed, 0 failed
  • ./script/docker-exec.sh -- bash -lc './script/cold-build-check.sh' → ok (39s)

Closes #34327

Made with Cursor

…k Type::initialize (#34327)

Drop eager NestedJIT ensureLinked on the full load path; call-site Jit*
owners already link before lookup (peer #34320 / Trust #32122).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit b527445 into master Aug 24, 2026
1 check failed
@PurHur
PurHur deleted the agent/issue-34327-lazy-type-init-process-identity branch August 24, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

php-in-php: drop Type::initialize always-on ProcessIdentity/gettimeofday/getrusage/net/ListUnpack ensureLinked — lazy Jit* ABI (peer #34320)

1 participant