LoginSignup
2
0

More than 3 years have passed since last update.

php-master-changes 2019-06-27

Last updated at Posted at 2019-06-30

この日はビルドシステムのリファクタ、不要コードの削除、テストの修正、継承まわりの処理の改善、ストリームで use-after-free が起きる問題の修正、メモリ / リソースリークの修正、SUCCESS しか返してなかった関数を返値型 void にする修正、enchant で phpinfo() のバージョン出力に取得できるときは実際のバージョン番号を使うようにする修正、メモリアロケータへ tracked allocator mode を追加する修正、phpdbg の一部メモリ管理まわりの処理の修正があった!

2019-06-27

petk: Set Computer English language for credits sorting

petk: Remove HAVE_STRTOD and strtod check

petk: Remove unused HAVE_DATE and HAVE_SPL symbols

petk: Fix posix_errno test without PCNTL dep

petk: Fix concurrent testing of bug 61964

petk: Remove warnings for bison and re2c checks

dstogov: Avoid double checks on early binding

petk: Clean headers checks

nikic: Fix use-after-free in stream freeing during shutdown

nikic: Fix persistent connection leak in mysqli

Andrey Gromov: Make zend_hash_rehash() a void function

dstogov: Inline hot path

dstogov: Separate common code abd eliminate useless checks

cmb69: Show actual enchant version if possible

nikic: Add tracked allocator mode

  • https://github.com/php/php-src/commit/cfeda978dfa093f9d5da5a6fd6fa1090915bf418
  • [7.4~]
  • メモリアロケータに tracked allocator mode を追加
  • USE_ZEND_ALLOC=0 で USE_TRACKED_ALLOC=1 だと有効化
  • ZendMM 通さず ふつーに malloc / free しつつアロケーション状況をハッシュテーブルへ突っ込む
  • 世間のメモリリーク検出ツールが有効に機能するようにしつつ、アロケーション状況はポータブルにとれるように、みたいな感じかな
  • 最近 nikic の人がめっちゃメモリリーク系直してる気がする、long running なアプリケーションとか想定すると必要な対応だろうなあ

nikic: Fix persistent XML memory leaks in SOAP

nikic: Don't use zmm for PHPDBG_G(exec)

nikic: Fix phpdbg shutdown order

nikic: Fix opcache blacklist leak

nikic: Remove posix_getlogin_basic.phpt test

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0