History log of /PHP-8.2/ext/opcache/ZendAccelerator.c (Results 101 – 125 of 735)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 703e92c1 27-Jul-2021 Nikita Popov

Don't force constant resolution for include preloading

Same as with property types, we no longer require that all constants
are resolved for preloading to work, it's just an optimization

Don't force constant resolution for include preloading

Same as with property types, we no longer require that all constants
are resolved for preloading to work, it's just an optimization. As
such, drop the forced resolution for include-based preloading and
just keep the optimization.

show more ...

# 70195c35 27-Jul-2021 Nikita Popov

Don't force property type resolution for include preloading

Having all property types resolved is no longer a hard requirement
for preloading, resolving the types is just an optimization

Don't force property type resolution for include preloading

Having all property types resolved is no longer a hard requirement
for preloading, resolving the types is just an optimization. As
such, drop the special logic that forced loading of property
types when include-based preloading is used. Instead only keep
the code that resolves types based on actually preloaded classes.

Also drop the ZEND_ACC_PROPERTY_TYPES_RESOLVED flag, which is now
nearly useless and takes up flag space...

show more ...

# 1e4095f0 20-Jul-2021 Dmitry Stogov

Fixed bug #81256 (Assertion `zv != ((void *)0)' failed for "preload" with JIT)

# 0ce1cd13 19-Jul-2021 Christoph M. Becker

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix #81206: Multiple PHP processes crash with JIT enabled


# ef77d3c8 17-Jul-2021 Christoph M. Becker

Fix #81206: Multiple PHP processes crash with JIT enabled

We need to avoid resetting the JIT for all SAPIs, but we need to
initialize the JIT handlers even when only reattaching on Windo

Fix #81206: Multiple PHP processes crash with JIT enabled

We need to avoid resetting the JIT for all SAPIs, but we need to
initialize the JIT handlers even when only reattaching on Windows.

Closes GH-7208.

show more ...

# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# 8ae06582 16-Jun-2021 Dmitry Stogov

Fixed incorrect map_ptr slots counting

# 795efd76 27-May-2021 twosee

Add zend_getpagesize() and reuse it in accelerator and fiber (#7057)

# f31c5319 19-May-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Move preload_autoload assignment into preload_load()


# 62a9f973 19-May-2021 Nikita Popov

Move preload_autoload assignment into preload_load()

We need to set the preload autoloader even if preloading happened
in a different process. accel_preload() will only run in one.

Move preload_autoload assignment into preload_load()

We need to set the preload autoloader even if preloading happened
in a different process. accel_preload() will only run in one.

In particular, this fixes the behavior if preload_user is used.

show more ...

# c40231af 12-May-2021 George Peter Banyard

Mark various functions with void arguments.

This fixes a bunch of [-Wstrict-prototypes] warning,
because in C func() and func(void) have different semantics.

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# dd86987b 29-Apr-2021 Nikita Popov

Replay warnings during inheritance (#6928)

Since 3e6b447979a2b1f351faf40bee9c6cf7e362d85a it is again possible to have
warnings (deprecations) during inheritance, and more such functiona

Replay warnings during inheritance (#6928)

Since 3e6b447979a2b1f351faf40bee9c6cf7e362d85a it is again possible to have
warnings (deprecations) during inheritance, and more such functionality is
likely in the future. This is a problem, because such warnings will only be
shown on the first request if the opcache inheritance cache is used. This
currently causes test failures in --repeat builds.

Fix this by uplifting the error recording functionality from opcache to Zend,
and then using it to persist a warning trace in the inheritance cache, which
can then be used to replay the warnings on subsequent executions.

show more ...

# e8e7c04a 29-Apr-2021 Nikita Popov

Use common struct to store error information

This is needed by both fibers and opcache (and GH-6903 also uses it),
so make it a common structure that can be used by any functionality

Use common struct to store error information

This is needed by both fibers and opcache (and GH-6903 also uses it),
so make it a common structure that can be used by any functionality
storing warnings/errors.

show more ...

# a1c6ee21 23-Apr-2021 Nikita Popov

Convert error filename to zend_string

Error handling functions/callbacks now accept the error filename
as a zend_string* instead of a const char*.

# e0e19fd9 09-Apr-2021 Nikita Popov

Fix file cache

We should only access xlat if this is called from persist, not
when it is called from file cache.

# 4ce5d2ea 09-Apr-2021 Nikita Popov

Add known strings for jit autoglobals

We always create interned strings for all autoglobals anyway, so
we might as well add known strings to make them more widely usable.

# ce4afd50 09-Apr-2021 Nikita Popov

Remove special handling of method named during preloading

Nowadays op_arrays always hold a ref to the function_name, even
if they are fully shared. As such, I don't believe that this cod

Remove special handling of method named during preloading

Nowadays op_arrays always hold a ref to the function_name, even
if they are fully shared. As such, I don't believe that this code
is necessary anymore, and it interferes with the code that
releases function_names the appropriate number of times while
persisting.

show more ...

# 46ee57e9 09-Apr-2021 Nikita Popov

Don't leak accel key if interning fails

# 46a884bb 09-Apr-2021 Nikita Popov

Don't leak include_path if it cannot be interned

# d8e4fbae 08-Apr-2021 Dmitry Stogov

Fast Class Cache

This is generalization of idea, that was previously usesd for caching
resolution of class_entries in zend_type. Now very similar mechanizm is
used for general zend_s

Fast Class Cache

This is generalization of idea, that was previously usesd for caching
resolution of class_entries in zend_type. Now very similar mechanizm is
used for general zend_string into zend_class_entry resolution.

Interned zend_string with IS_STR_CLASS_NAME_MAP_PTR GC_FLAG uses its
refcount to adress corresponding zend_class_entry cache slot.
The refcount keeps an offset to this slot from CG(map_ptr_base).
Flag may be checked by ZSTR_HAS_CE_CACHE(str), cache slot may be read by
ZSTR_GET_CE_CACHE(str) and set by ZSTR_SET_CE_CACHE(str, ce).

show more ...

# 22019a1e 05-Apr-2021 Dmitry Stogov

Fixed unintended string duplication

# a6dd92f8 31-Mar-2021 Dmitry Stogov

Remove reference to $GLOBALS. We don't create an actual variable for $GLOBALS any more .

# 8c001d5b 30-Mar-2021 Dmitry Stogov

We don't create an actual variable for $GLOBALS any more.

# 849ae12e 30-Mar-2021 Dmitry Stogov

Simplify auto-globals checks

12345678910>>...30