History log of /PHP-7.1/Zend/zend_execute.h (Results 51 – 75 of 289)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0579e827 15-Jan-2015 Xinchen Hui

bump year


# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# ab0b15b8 26-Dec-2014 Dmitry Stogov

Optimized destruction of extra arguments passed to user functions.
If no refcounted arguments are passed, then destruction code is not triggered at all.
(Full rebuild required)


# 2646f7bc 22-Dec-2014 Dmitry Stogov

Don't count variadic argument in zend_func.common.num_args. This allows faster CALL/RETURN code.


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20
# 4d21ad31 17-Dec-2014 Dmitry Stogov

Added EXPECTED(). Most functions have arguments.


Revision tags: php-5.4.36, php-5.6.4
# 3a185977 16-Dec-2014 Dmitry Stogov

Optimize argument passing handlers:

- predcalculate offsets of passed argument and store it in opline->result.var for ZEND_SEND_*;
- don't update "number of passed arguments" op each ZEN

Optimize argument passing handlers:

- predcalculate offsets of passed argument and store it in opline->result.var for ZEND_SEND_*;
- don't update "number of passed arguments" op each ZEND_SEND_* opcode, store it on call frame creation
- Change ZEND_HANDLE_EXCEPTION to determine "number of passed arguments" in incomplete calls fefore freeing

show more ...


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 3affc0e8 12-Dec-2014 Anatol Belski

Fixed bug #68583 Crash in timeout thread

This replaces the GUI element used for execution timeout handling
on Windows. Instead a timer queue technique is used, which is indeed
a thre

Fixed bug #68583 Crash in timeout thread

This replaces the GUI element used for execution timeout handling
on Windows. Instead a timer queue technique is used, which is indeed
a thread pool. A timer queue timer is a lightweight object handled
but that thread pool and the timer thread spends most of the time
sleeping and waiting for an alert.

Please note also that this introduces neither binary nor source
breach. The custom timeout thread functions are deleted, however
they was not exported throug DLL, so couldn't be used by any
external code. As well they couldn't be used anywhere in the core
except in executor api, because those custom timeout thread
functions they used to operate on static variables which would
be overwritten (and that would blow).

So instead a relatively modern technique is used for the timeout
handling. It's still not perfect because the executor still has to
check EX(timed_out). This can be a topic for an improvement in
master. But brobably can be tricky as currently it seems to be not
possible to signal an individual thread. Also note another issue
that static variables aren't thread safe, but the current timer
implementation is.

show more ...


# 14e29f51 12-Dec-2014 Dmitry Stogov

Reduced size of zend_op on 64-bit systems.

the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces

Reduced size of zend_op on 64-bit systems.

the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces the size of each opcode from 48 to 32 bytes (saves 16 bytes for each opcode, and applications use thousands of opoceds). This reduced the number of CPU cache misses by 12% and improved performance of real-life apps by 1-2%.

The patch affects how constants and jump targets are represented in VM during execution. Previously they were implemented as absolute 64-bit pointers. Now they are relative 32-bit offsets.

In run-time constant now should be accessed as:
RT_CONSTANT(op_array, opine->op1) instead of opline->op1.zv
EX_CONSTANT(opline->op1) instead of opline->op1.zv

Jump targets:
OP_JMP_ADDR(opline, opline->op2) instead of opline->op2.jmp_addr

The patch doesn't change zend_op representation for 32-bit systems. They still use absolute addresses. The compile-time representation is also kept the same.

show more ...


# 9ea35a37 12-Dec-2014 Dmitry Stogov

Make ZEND_INIT_FCALL keep predcalculted size of necessary stack space in opline->op1.num to avoid its recalculation on each execution.


# 27dc5986 11-Dec-2014 Dmitry Stogov

Moved zend_is_true() from zend_execute.h/zend_execute_API.c into zend_operators.h/zend_operators.c.
Splited the most expensive part of inline i_zend_is_true() into a separate zend_object_is_true(

Moved zend_is_true() from zend_execute.h/zend_execute_API.c into zend_operators.h/zend_operators.c.
Splited the most expensive part of inline i_zend_is_true() into a separate zend_object_is_true().
Replaced zendi_convert_to_long() with cals to zend_is_true().

show more ...


# 5dd427ea 03-Dec-2014 Dmitry Stogov

Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.


# dcfe5877 28-Nov-2014 Dmitry Stogov

Rename EX_VAR_2() into ZEND_CALL_VAR() and EX_VAR_NUM_2() into ZEND_CALL_VAR_NUM().


# 1da14c9f 28-Nov-2014 Dmitry Stogov

Pack EX(frame_info) into EX(This).u1.v.reserved. Rename "frame"kind" into "call_kind" and VM_FRAME_... into ZEND_CALL_...


# 11384ba7 28-Nov-2014 Dmitry Stogov

Pack EX(num_args) into EX(This).u2.num_args


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# 8319f597 25-Nov-2014 Dmitry Stogov

Moved i_zval_ptr_dtor() from zend_execute.h to zend_variables.h


# d4f42289 25-Nov-2014 Dmitry Stogov

Removed useless assert. EG(uninitialized_zval) can't be refcounted.


# 42d33a9f 24-Nov-2014 Dmitry Stogov

Reuse zend_assign_to_variable() in zend_std_write_property()


# c746dcd7 18-Nov-2014 Dmitry Stogov

Get rid of zend_free_op structure (use zval* instead).
Get rid of useless TSRMLS arguments.


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1
# 7959e3fa 22-Oct-2014 Anatol Belski

fix datatype mismatches for strings from userspace


# 36fa572a 22-Oct-2014 Dmitry Stogov

ZEND_RECV didn't really use opline->extended_value for FETCH_CLASS flags


Revision tags: php-5.5.18, php-5.4.34
# c061c829 09-Oct-2014 Nikita Popov

Remove Z_OBJ_CLASS_NAME_P

Doesn't make much sense anymore, now that get_class_entry is
gone.


# 0390cde4 09-Oct-2014 Dmitry Stogov

Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.


# b3a779de 09-Oct-2014 Nikita Popov

Remove get_class_entry object handler


12345678910>>...12