[PHP 8.4] Tracing JIT wrong optimization for LazyProxy instances
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 領域
- backend, performance
調査の方向性
Start by reading the linked PHP core issue #23628 and its patch, then run the existing regression tests mentioned there on PHP 8.4 with tracing JIT enabled. The report says those tests fail on PHP 8.4.27 and asks for the fix to be backported; done means the relevant tests pass on the 8.4 line with tracing JIT enabled. The issue does not name source files or tests, so finding the affected code will take familiarity with the PHP engine.
索引モデルが issue の本文から書いたものです。
説明
Description
The same issue described in https://github.com/php/php-src/issues/23628 exists on the 8.4 line. It doesn't apply to 8.3 and earlier since LazyProxy wasn't added yet. It doesn't appear that the fix was backported. I figured opening a new issue for the backport request was more likely to be seen than commenting on the already-closed one :)
The existing regression tests added in the patch fail on 8.4.27 (and I assume earlier) but if you need any additional information, I'm happy to provide it.
- PHP: 8.4.27 (cli), NTS, built Nov 5 2026, from docker-library/php
- Base image: php:8.4.27-fpm-alpine3.23 (Alpine 3.23.8, x86_64)
- JIT settings: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M, opcache.jit_hot_loop=64
- Extra extensions loaded: apcu and excimer. Excimer is worth naming because it hooks into the engine, though the A/B test showed JIT alone decides pass or fail.
PHP Version
PHP 8.4.27 (cli) (built: Nov 5 2026 19:02:58) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.4.27, Copyright (c) Zend Technologies
with Zend OPcache v8.4.27, Copyright (c), by Zend Technologies
Operating System
Alpine Linux 3.23.8 (official php alpine docker image)
- 主要言語
- C
- スター
- 41.8k
- フォーク
- 8.5k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 137
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
php/php-src のほかの issue
-
SNMP accepts malformed remote ports対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 半日 初心者へのやさしさ 62/100
php/php-src#25137 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Bug Status: Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
quoted_printable_encode() produces lines longer than 76 characters for bytes 0xF5 to 0xFF対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Bug Status: Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
php/php-src#24196 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Feature Status: Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
php/php-src#24183 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
research-radar
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted program
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
hffgzktbcc-blip/ounce-core#297 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
virtualsquare/picotcp#88 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信