summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-03-06 23:09:31 +0100
committerNikita Popov <nikita.ppv@gmail.com>2018-03-07 09:50:25 +0100
commit3b5b64ce75b00a00a256f1a59655a0830d071036 (patch)
treea000feac3908e3b767de4ca063b52e1ffb172aa8 /ext/reflection/php_reflection.c
parentdcbac8ade6d45ee4a34dfaec0f20aa7700e84dad (diff)
downloadphp-git-3b5b64ce75b00a00a256f1a59655a0830d071036.tar.gz
Fix garbage marking in gc_collect_roots()
gc_collect_white() will mark white nodes as black and add them as garbage, but only if it's not buffered yet. The already buffered roots are instead marked as garbage in gc_collect_roots() directly. However, if gc_collect_white() marked a (buffered) root as black through recursion, it would not subsequently be marked as garbage.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions