Skip to content

Runtime shrink: lazy WeakRef/GC ABIs from Refcount::implement (#35802) - #35759

Merged
PurHur merged 1 commit into
masterfrom
agent/runtime-shrink-refcount-lazy-weakref-35802
Aug 30, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/runtime-shrink-refcount-lazy-weakref-35802

Conversation

@PurHur

@PurHur PurHur commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • ./script/phpunit.sh --filter 'RefcountLazyWeakRefRuntimeShrinkTest|WeakRefRegistryRuntimeShrinkTest|WeakReferenceJitTest' → OK (9 tests, 67 assertions)
  • ./script/aot-smoke.sh → 8 passed, 0 failed
  • ./script/docker-exec.sh -- bash -lc './script/cold-build-check.sh' → ok (4s)
  • Full ci-fast.sh not run (targeted gates above sufficient for lazy-init shrink)

Made with Cursor

Refcount::implement no longer NestedJITs WeakRefRuntime, WeakRefNative, or
GcCollectCyclesRuntime during init; only implementDelref ensures those ABIs
before phpc_weakref_clear_object_typed / phpc_gc_unregister lookup. Reduces
cold-build LLVM surface for hello-world (#31894 / #32122 .1 mint class).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit b437137 into master Aug 30, 2026
1 check passed
@PurHur
PurHur deleted the agent/runtime-shrink-refcount-lazy-weakref-35802 branch August 30, 2026 01:04
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.

1 participant