[php-src] Issue #7870: Self-reference is counted as circular reference
| From: | nikic | Date: | Sun, 02 Jan 2022 21:06:13 +0000 |
| Subject: | [php-src] Issue #7870: Self-reference is counted as circular reference | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238717@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7870
Comment Author: nikic
Yeah, I don't think it makes sense to try and special case these kinds of "trivial"
cycles. It's still a cycle and should be handled by cyclic GC. Something we need to improve
though is GC scheduling, to avoid hitting the memory limit if running GC would prevent that.