junyixie <xie.ju...@outlook.com> added the comment:

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?

----------
nosy: +JunyiXie

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40601>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to