Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An attempt to implemnt "preloading" ability. #3538

Closed
wants to merge 65 commits into from
Closed

Commits on Oct 15, 2018

  1. Configuration menu
    Copy the full SHA
    9409958 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0810ce0 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2018

  1. Configuration menu
    Copy the full SHA
    f76a955 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c78277a View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. Merge branch 'master' into immutable

    * master:
      Remove unused variable makefile_am_files
      Classify object handlers are required/optional
      Add support for getting SKIP_TAGSTART and SKIP_WHITE options
      Remove some obsolete config_vars.mk occurrences
      Remove bsd_converted from .gitignore
      Remove configuration parser and scanners ignores
      Remove obsolete buildconf.stamp from .gitignore
      [ci skip] Add magicdata.patch exception to .gitignore
      Remove outdated ext/spl/examples items from .gitignore
      Remove unused test.inc in ext/iconv/tests
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    a06f0f3 View commit details
    Browse the repository at this point in the history
  2. typo

    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    9ef07c8 View commit details
    Browse the repository at this point in the history
  3. Hide offset encoding magic in ZEND_MAP_PTR_IS_OFFSET(), ZEND_MAP_PTR_…

    …OFFSET2PTR() and ZEND_MAP_PTR_PTR2OFFSET() macros.
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    8dadca8 View commit details
    Browse the repository at this point in the history
  4. Removed duplicate code

    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    d5a4108 View commit details
    Browse the repository at this point in the history
  5. Removed redundand assertion

    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    b945548 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c63fc5d View commit details
    Browse the repository at this point in the history
  7. Added type cast

    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    0276ea5 View commit details
    Browse the repository at this point in the history
  8. Added comment

    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    ad7a78b View commit details
    Browse the repository at this point in the history
  9. Merge branch 'immutable' into preload

    * immutable:
      Added comment
      Added type cast
      Moved static class members initialization into the proper place.
      Removed redundand assertion
      Removed duplicate code
      Hide offset encoding magic in ZEND_MAP_PTR_IS_OFFSET(), ZEND_MAP_PTR_OFFSET2PTR() and ZEND_MAP_PTR_PTR2OFFSET() macros.
      typo
      Remove unused variable makefile_am_files
      Classify object handlers are required/optional
      Add support for getting SKIP_TAGSTART and SKIP_WHITE options
      Remove some obsolete config_vars.mk occurrences
      Remove bsd_converted from .gitignore
      Remove configuration parser and scanners ignores
      Remove obsolete buildconf.stamp from .gitignore
      [ci skip] Add magicdata.patch exception to .gitignore
      Remove outdated ext/spl/examples items from .gitignore
      Remove unused test.inc in ext/iconv/tests
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    21e0beb View commit details
    Browse the repository at this point in the history
  10. Reverted back ce->iterator_funcs_ptr. Initialize ce->iterator_funcs_p…

    …tr fields in immutable classes.
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    4740dab View commit details
    Browse the repository at this point in the history
  11. Merge branch 'immutable' into preload

    * immutable:
      Reverted back ce->iterator_funcs_ptr. Initialize ce->iterator_funcs_ptr fields in immutable classes.
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    d33908a View commit details
    Browse the repository at this point in the history
  12. Merge branch 'master' into immutable

    * master:
      Remove the "auto" encoding
      Fixed bug #77025
      Add vtbls for EUC-TW encoding
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    cd0c36c View commit details
    Browse the repository at this point in the history
  13. Merge branch 'immutable' into preload

    * immutable:
      Remove the "auto" encoding
      Fixed bug #77025
      Add vtbls for EUC-TW encoding
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    632b30b View commit details
    Browse the repository at this point in the history
  14. Merge branch 'master' into preload

    * master:
      Immutable clases and op_arrays.
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    ac8f45f View commit details
    Browse the repository at this point in the history
  15. Merge branch 'master' into preload

    * master:
      Fixed comment
      Micro optimizations
      Mark "top-level" classes
    dstogov committed Oct 17, 2018
    Configuration menu
    Copy the full SHA
    a609520 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2018

  1. Merge branch 'master' into preload

    * master:
      Mark "top-level" functions.
      Don't initialize static_member_tables during start-up, when inherit internal classes.
      [ci skip] Update NEWS
      [ci skip] Update NEWS
      [ci skip] Update NEWS
      Fix #77035: The phpize and ./configure create redundant .deps file
      Remove outdated PEAR artefacts
      Fix tests/output/bug74815.phpt generating errors.log
      Revert "Use C++ symbols, when C++11 or upper is compiled"
      Use C++ symbols, when C++11 or upper is compiled
      Added new line
      Remove stamp-h
      Move all testing docs to qa.php.net
      Fix a typo in UPGRADING.INTERNALS
      Fix test when it's run on another drive
      [ci skip] Update UPGRADING wrt. tidyp support
      Fixed incorrect reallocation
      Fix #77027: tidy::getOptDoc() not available on Windows
      Run CI tests under opcache.protect_memory=1
    dstogov committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    b0139dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b67e283 View commit details
    Browse the repository at this point in the history
  3. Added test

    dstogov committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    a2ba970 View commit details
    Browse the repository at this point in the history
  4. Added warning message

    dstogov committed Oct 19, 2018
    Configuration menu
    Copy the full SHA
    093e8b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. Configuration menu
    Copy the full SHA
    811f20a View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2018

  1. Merge branch 'master' into preload

    * master: (29 commits)
      Make php_plain_files_wrapper to be writable (workaround for swoole)
      Remove phpdbg parser files generated by bison
      Fix conflicts in phpdbg parser
      Refetetch function name on exceptional path to allow better code on fast code path.
      fix typo in sysvsem.c
      Fixed bug #50675
      bump to 7.2.13-dev
      [ci skip] Update NEWS wrt. php-7.3.0RC4 tagging
      Inlining in the most frequently used code paths
      Fixed test failurs introduced by 9c144e0
      Use persistent strings only for persistent connections
      Fix accessibility checks for dynamic properties
      Updated to version 2018.6 (2018f)
      Updated to version 2018.6 (2018f)
      Updated to version 2018.6 (2018f)
      Fix arginfo and clean up fpm_get_status
      Defragment two Zend related Makefile fragments together
      [ci skip] Remove automake and aclocal in comments
      Fix #75282: xmlrpc_encode_request() crashes
      Fix tests for ICU 63.1
      ...
    dstogov committed Oct 24, 2018
    Configuration menu
    Copy the full SHA
    e4a7ef0 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into preload

    * master:
      Fixed build in directory different from source
    dstogov committed Oct 24, 2018
    Configuration menu
    Copy the full SHA
    b5ffba0 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into preload

    * master:
      Fixed reseting of interned strings buffer.
    dstogov committed Oct 24, 2018
    Configuration menu
    Copy the full SHA
    d9fc51b View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2018

  1. Merge branch 'master' into preload

    * master:
      Remove unused var
      Remove ext/json parser files generated by bison
      Fix run-tests.php for running phpdbg and certain test sections
      Normalize .gitignore
    dstogov committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    aabe685 View commit details
    Browse the repository at this point in the history
  2. cleanup

    dstogov committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    d70cb10 View commit details
    Browse the repository at this point in the history
  3. eol

    dstogov committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    26587a9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f57c1e View commit details
    Browse the repository at this point in the history
  5. Merge branch 'master' into preload

    * master:
      Improved shared interned strings handling. The previous implementation worked incorrectly in ZTS build. It changed strings only in function/class tables of one thread. Now all threads gets the same shared interned strings. Also, on shutdown, we don't try to replace SHM interned strings back to process strings, but delay dettachment of SHM instead.
      Don't use request heap at shutdown
      Don't optimize function if inference failed
      Fixed bug #77058
      Improve "narrowing" error message
      bump versions
    dstogov committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    e3c65db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ab9a40f View commit details
    Browse the repository at this point in the history
  7. Cleanup

    - remove useless ZCSG(saved_map_ptr_last)
    - move preloaded classes/functions clean-up code back into better place
    dstogov committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    a594a61 View commit details
    Browse the repository at this point in the history
  8. Disable linking and preloading of classes those parent or one of inte…

    …rface or trait is an internal class.
    dstogov committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    4531fbf View commit details
    Browse the repository at this point in the history
  9. Merge branch 'master' into preload

    * master:
      Don't wrap php_module_shutdown() with zend_try. executor_globals are released in ZTS build, and this leads to crash.
      [ci skip] Fix indentation in UPGRADING.
    dstogov committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    e6b76ec View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3a2d1bc View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Removed dead code

    dstogov committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    0fe9ea1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7fbb4d View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2018

  1. Merge branch 'master' into preload

    * master:
      Optimize substr() edge-case conditions
      [ci skip] Update UPGRADING
      Fix #71592: External entity processing never fails
      Add TIDY_TAG_* constants supported by libtidy 5
      Add is_iterable to opcache Optimizer
    dstogov committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    386c9d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d4b22c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17a3cb4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a24d7b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    310631c View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into preload

    * master:
      Stop Apache if PHP wasn't started successful.
      Execute zend_post_startup() with module_initialized flag set.
      Removed dead code
      Fix mb_strrpos() with encoding passed as 3rd param
    dstogov committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    c559f22 View commit details
    Browse the repository at this point in the history
  7. typo

    dstogov committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    2f697ef View commit details
    Browse the repository at this point in the history
  8. Fixed double-free

    dstogov committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    e806cb7 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. Merge branch 'master' into preload

    * master:
      [ci skip] Update NEWS
      [ci skip] Update NEWS
      [ci skip] Update NEWS
      fix bug #77079
      Add missing null initialization
      Remove redundant mbfl_string_init calls
      Use zend_string for mbstring last encoding cache
    dstogov committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    5620495 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into preload

    * master:
      Call function_add_ref() in proper place
      Updated to version 2018.7 (2018g)
      Updated to version 2018.7 (2018g)
      Updated to version 2018.7 (2018g)
      Reslove inherited op_array references once afrer all optimizations.
    dstogov committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    eb6e2c5 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into preload

    * master:
      Keep original value of "prototype"
    dstogov committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    38ab7ef View commit details
    Browse the repository at this point in the history
  4. Added test

    dstogov committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    68c4f99 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a57b5d View commit details
    Browse the repository at this point in the history
  6. Added test

    dstogov committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    7a20781 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2018

  1. Merge branch 'master' into preload

    * master:
      Fix stray newline that caused this test to fail
      Fix session tests that fail if error_log is set
      This test needs to log to stdout
      Fix error condition
      Fixed bug #77081 ftruncate() changes seek pointer in c mode
      Fix and improve test case
    dstogov committed Nov 1, 2018
    Configuration menu
    Copy the full SHA
    36b644f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aea85c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a9d90f View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2018

  1. Merge branch 'master' into preload

    * master:
      Future-proof email addresses...
      Update email addresses.  We're still @zend, but future proofing it...
    dstogov committed Nov 2, 2018
    Configuration menu
    Copy the full SHA
    b610467 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bd17bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b0a53e View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2018

  1. Merge branch 'master' into preload

    * master:
      Update NEWS [ci skip]
      Update NEWS [ci skip]
      Update libmagic.patch [ci skip]
      Update libmagic.patch [ci skip]
      Declare function proto in header
      Declare function proto in header
      Fix #76825: Undefined symbols ___cpuid_count
      NEWS
      Fix: #77110 undefined symbol zend_string_equal_val in C++ build
      Fix #77105: Use position:sticky for <th> in `phpinfo()`
      Implement handling for JIT recognition when cross compiling
      Backport 7f5f460 for 7.2
      Fix #76348: WSDL_CACHE_MEMORY causes Segmentation fault
      Rework places in libmagic regarding previous CVE-2014-3538 fixes
      Change the way JIT availability is checked
      Fix a test for ldap extension
      Fixed bug #77092
      Future-proof email addresses
    dstogov committed Nov 6, 2018
    Configuration menu
    Copy the full SHA
    7ae3a47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d3429c View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2018

  1. Configuration menu
    Copy the full SHA
    08ffc9a View commit details
    Browse the repository at this point in the history
  2. Support for class aliasses

    dstogov committed Nov 7, 2018
    Configuration menu
    Copy the full SHA
    cef0d67 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2018

  1. Configuration menu
    Copy the full SHA
    34645ae View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2018

  1. Configuration menu
    Copy the full SHA
    45fdd03 View commit details
    Browse the repository at this point in the history