Dmitry Stogov
db10b72523
Use fastcall calling convention for most critical ZE subsystems.
2015-03-13 21:10:09 +03:00
Dmitry Stogov
e10e151e9b
Merged zend_array and HashTable into the single data structure.
...
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.
2015-02-13 22:20:39 +03:00
Dmitry Stogov
a787719d4f
Removed TSRMLS_D
2015-02-04 18:47:30 +03:00
Adam Harvey
eb6dc9db29
Make gc_collect_cycles hookable.
2015-01-23 19:23:58 +00:00
Dmitry Stogov
46e486ff3d
It doesn't make sense to colect garbage after fatal errors
2015-01-23 16:40:16 +03:00
Dmitry Stogov
f71e64e53a
Revert "Fixed ASSERTION"
...
This reverts commit 76f438e06f
.
2015-01-23 16:37:39 +03:00
Xinchen Hui
76f438e06f
Fixed ASSERTION
2015-01-23 14:18:56 +08:00
Dmitry Stogov
6f0e5aab43
Fixed GC after destruction of object store.
2015-01-22 20:38:42 +03:00
Dmitry Stogov
e21fefde38
Fixed destruction of circular garbage
2015-01-22 14:24:27 +03:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Dmitry Stogov
109baa0394
Fixed compilation warnings
2014-11-27 12:52:31 +03:00
Veres Lajos
4b9535341a
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-19 20:23:00 +00:00
Xinchen Hui
dfc99d93d5
Remove redundant codes
2014-09-15 16:52:33 +08:00
Anatol Belski
c22458adc5
fix ZTS build
2014-09-12 21:38:39 +02:00
Xinchen Hui
243ec132e6
Forget to commit this part...
2014-09-13 02:00:15 +08:00
Xinchen Hui
78ce2557f5
Finally!!! Fixed segfault in GC
...
this must not be the final fix, but let's stop the segfault first and
use this to indicate where the problem is.
reproduced by phpspec
2014-09-13 01:55:49 +08:00
Dmitry Stogov
50a76860bd
Fixed GC for inner-loops (ext/standard/tests/array/compact_variation1.phpt).
...
Fixed bug #63734 .
2014-08-07 18:50:03 +04:00
Dmitry Stogov
414762fc12
Fixed GC (Zend/tests/bug63635.phpt)
2014-08-06 15:31:07 +04:00
Anatol Belski
f089d63ddd
C89 compat
2014-05-13 14:04:53 +02:00
Dmitry Stogov
e99e6958bc
Cleanup
2014-04-16 01:45:40 +04:00
Dmitry Stogov
b0b54e8db4
Fixed nested GC calls (valgrind error in Zend/tests/gc_016.phpt)
2014-04-14 22:41:42 +04:00
Dmitry Stogov
7402af380b
Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
...
Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.
2014-04-09 01:50:15 +04:00
Dmitry Stogov
76cc99fe60
Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
2014-04-03 15:26:23 +04:00
Dmitry Stogov
d8099d0468
Changed data layout to allow more efficient operations
2014-04-02 14:34:44 +04:00
Dmitry Stogov
887189ca31
Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing
2014-03-26 18:07:31 +04:00
Dmitry Stogov
b4b728fe85
don't mark zvals as rotts if they are already processed by GC
2014-03-21 21:36:46 +04:00
Dmitry Stogov
a9d21c1457
check if object store was freed before accessing particular object
2014-03-20 17:26:20 +04:00
Dmitry Stogov
2909c72b69
Improved GC compatibility
2014-03-20 00:29:20 +04:00
Dmitry Stogov
cb411f024d
GC cleanup
2014-03-19 18:11:46 +04:00
Dmitry Stogov
120dfd1e04
GC cleanup
2014-03-19 17:55:42 +04:00
Dmitry Stogov
9385ddaff9
GC related fix
2014-03-19 17:25:19 +04:00
Dmitry Stogov
b7938ab1bd
Refactored GC (incomplete)
2014-03-19 17:00:28 +04:00
Dmitry Stogov
f4cfaf36e2
Use better data structures (incomplete)
2014-02-10 10:04:30 +04:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Dmitry Stogov
3c1888f584
Fixed bug #63635 (Segfault in gc_collect_cycles)
2012-11-29 13:06:12 +04:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Dmitry Stogov
b64e91ddeb
Fixed bug #60139 (Anonymous functions create cycles not detected by the GC)
2011-11-02 06:31:33 +00:00
Felipe Pena
b57d9f41cf
- Fixed ZTS build
2011-04-17 22:06:27 +00:00
Dmitry Stogov
e623543452
Improved GC to avaid reconstruction of HashTables for object properties
2011-04-15 09:57:43 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Dmitry Stogov
88bf6d2e16
Fixed GC bug
2010-09-03 09:27:47 +00:00
Stanislav Malyshev
de363cf818
fix #49192 - crash in GC when get_properties handler returns null
2010-04-01 22:54:03 +00:00
Sebastian Bergmann
35e83d2afb
sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
2010-01-05 20:46:53 +00:00
Dmitry Stogov
31fd155b4c
Improved GC speed and reduced stack usage
2009-04-03 18:52:36 +00:00
Dmitry Stogov
4d8a928716
Fixed bug #47343 (gc_collect_cycles causes a segfault when called within a destructor in one case)
2009-02-18 12:03:03 +00:00
Dmitry Stogov
c05dfd5605
Better fix for #47341
2009-02-09 08:55:35 +00:00
Derick Rethans
201c26283c
- Fixed bug #47341 : Calling gc_collect_cycles() with zend.enable_gc=0 causes
...
segfault.
2009-02-08 19:30:01 +00:00