History log of /PHP-7.4/ext/opcache/ZendAccelerator.c (Results 1 – 25 of 367)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d1e956ff 16-Aug-2021 Nikita Popov

Fixed bug #81353

A user-defined error handler should not be invoked for preload
warnings. We are in a partially shut-down state at that point.


# 8b7aaad7 07-Dec-2020 Nikita Popov

Try SIGTERM before SIGKILL in opcache restart

SIGTERM is subject to HANDLE_BLOCK_INTERRUPTIONS(), which will
allow code to exit critical sections before it gets terminated.

Clos

Try SIGTERM before SIGKILL in opcache restart

SIGTERM is subject to HANDLE_BLOCK_INTERRUPTIONS(), which will
allow code to exit critical sections before it gets terminated.

Closes GH-6493.

show more ...


# 6808968c 05-Nov-2020 Nikita Popov

Backport preloading trait fixup fixes

This cherry-picks 33969c2252b2c33a72c9039072af8862fd347a5f and
2effbfd8713936742ef46e6e85ce193b320ac005 from PHP-8.0.

The issues these comm

Backport preloading trait fixup fixes

This cherry-picks 33969c2252b2c33a72c9039072af8862fd347a5f and
2effbfd8713936742ef46e6e85ce193b320ac005 from PHP-8.0.

The issues these commits fix could also manifest in PHP 7.4, and
a commenter on bug #80307 reports this this might indeed be
happening.

show more ...


# d134c0ac 09-Jun-2020 twosee

Fix bug #79643: Invalid memory read when opcache.interned_strings_buffer is 0


# 3928b6b4 29-Sep-2020 Dmitry Stogov

Fixed unintended disabling of Optimizer for preloaded scripts introduced by 4a2646cf459


# 4e198c00 14-Sep-2020 Christoph M. Becker

Avoid segfault if module/extension version is not defined


# 2d4aa1ef 10-Jul-2020 Sammy Kaye Powers

Fix #79825: opcache.file_cache causes SIGSEGV with custom opcode handlers

Modules may have changed after restart which can cause dangling pointers from custom opcode handlers in the second-l

Fix #79825: opcache.file_cache causes SIGSEGV with custom opcode handlers

Modules may have changed after restart which can cause dangling pointers from custom opcode handlers in the second-level cache files. This fix includes the installed module names and versions in the accel_system_id hash as entropy. Closes GH-5836

show more ...


# fcd26ffc 20-Aug-2020 Christoph M. Becker

Fix #80002: calc free space for new interned string is wrong

We need to calculate the free size in bytes.

Patch contributed by t-matsuno.

Closes GH-6024


# b6492b44 12-Mar-2020 Dmitry Stogov

identation fix


# 3c6e9bed 12-Mar-2020 Dmitry Stogov

Call global code of preloaded script in global context


# 2dddab01 12-Mar-2020 Dmitry Stogov

Avoid "Anonymous class wasn't preloaded" error by lazely loading of not preloaded part of a preloaded script


# a7de98fb 28-Feb-2020 Nikita Popov

Try to fix msvc build


# 30ee3f48 28-Feb-2020 Nikita Popov

Fixed bug #79252


# 32918914 24-Jan-2020 Nikita Popov

Fixed bug #79128

We need to extend the hash table before performing raw append
operations.

This doesn't matter if preloading happens in the same process,
as the tables will

Fixed bug #79128

We need to extend the hash table before performing raw append
operations.

This doesn't matter if preloading happens in the same process,
as the tables will be large enough to hold all entries as a
side-effect of the preloading process. However, if preloading
happens in a different process, we need to reserve space here.

show more ...


# 2958cdc0 20-Jan-2020 Xinchen Hui

Let's make this safer from maliciously crafted filename


# dda2adda 20-Jan-2020 Xinchen Hui

minor cleanup


# 9c2fd55d 20-Jan-2020 Xinchen Hui

Fixed bug #79114 (Eval class during preload causes class to be only half available)


# 59c3ddab 10-Dec-2019 Nikita Popov

Remove support for preloading on Windows

Due to ASLR restrictions, preloading on Windows does not work with
any code that has preloading dependencies on internal classes.
This effect

Remove support for preloading on Windows

Due to ASLR restrictions, preloading on Windows does not work with
any code that has preloading dependencies on internal classes.
This effectively makes it unusable for any non-trivial codebase.

Instead of pretending like preloading is going to work, only to
make people realize that it really doesn't once they get beyond
a dummy example, we disable support for preloading on Windows
entirely.

Closes GH-4999.

show more ...


# 22e9f9fe 30-Dec-2019 Nikita Popov

Also propagate include exceptions in opcache


# 3280209c 11-Dec-2019 Dmitry Stogov

Addirional fix for bug #78918


# 518a8f89 10-Dec-2019 Dmitry Stogov

Fix error message


# 5ddcacac 10-Dec-2019 Nikita Popov

Fix incorrect zend_try usage


# d6f86caa 10-Dec-2019 Nikita Popov

Fix release build failure

GCC complained about potentially uninitialized __orig_bailout,
even though the variable has an initializer. This warning was
quite persistent, I was only ab

Fix release build failure

GCC complained about potentially uninitialized __orig_bailout,
even though the variable has an initializer. This warning was
quite persistent, I was only able to avoid it by using a separate
function.

Am I missing something?

show more ...


# 9e22c3d4 10-Dec-2019 Christoph M. Becker

Improve error message

Formerly, the error message was like:

| Can't preload unlinked class MyException: Internal parent (Windows
| only limitation)Exception

Now it's li

Improve error message

Formerly, the error message was like:

| Can't preload unlinked class MyException: Internal parent (Windows
| only limitation)Exception

Now it's like:

| Can't preload unlinked class MyException: Windows can't link to
| internal parent Exception

show more ...


# 3f86adb0 09-Dec-2019 Nikita Popov

Fixed bug #78935: Check that all linked classes can be preloaded

During preloading, check that all classes that have been included
as part of the preload script itself (rather than throu

Fixed bug #78935: Check that all linked classes can be preloaded

During preloading, check that all classes that have been included
as part of the preload script itself (rather than through opcache_compile_file)
can actually be preloaded, i.e. satisfy Windows restrictions, have
resolved initializers and resolved property types. When resolving
initializers and property types, also autoload additional classes.
Because of this, the resolution runs in a loop.

show more ...


12345678910>>...15