This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JunyiXie
Recipients JunyiXie, petr.viktorin, shihai1991, vstinner
Date 2021-03-12.17:09:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615568958.2.0.827893076212.issue40601@roundup.psfhosted.org>
In-reply-to
Content
It seems that there is no continued progress for move static type in heap.This will make it impossible to continue to achieve sub interpreters parallel. Are there any plans to try other solutions to the problem?

In my project, i try to slove this problem, It can work, we verify on millions of devices.

1. In typeobject.c add lock to ensure that some functions that modification type are thread-safe
2. and make the PyCFunction and descri object of the Type will never be released. (Frequently used when load method/attributed, locking affects performance)

Can this change be submitted to cpython?
History
Date User Action Args
2021-03-12 17:09:18JunyiXiesetrecipients: + JunyiXie, vstinner, petr.viktorin, shihai1991
2021-03-12 17:09:18JunyiXiesetmessageid: <1615568958.2.0.827893076212.issue40601@roundup.psfhosted.org>
2021-03-12 17:09:18JunyiXielinkissue40601 messages
2021-03-12 17:09:17JunyiXiecreate