Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-124218: Use per-thread refcounts for code objects (#125216) | Sam Gross | 2024-10-15 | 1 | -24/+43 |
| | | | | | | | Use per-thread refcounting for the reference from function objects to their corresponding code object. This can be a source of contention when frequently creating nested functions. Deferred refcounting alone isn't a great fit here because these references are on the heap and may be modified by other libraries. | ||||
* | gh-124218: Refactor per-thread reference counting (#124844) | Sam Gross | 2024-10-01 | 1 | -0/+204 |
Currently, we only use per-thread reference counting for heap type objects and the naming reflects that. We will extend it to a few additional types in an upcoming change to avoid scaling bottlenecks when creating nested functions. Rename some of the files and functions in preparation for this change. |