Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多线程bug,deleteLocalRefs 删除 localObjectMap未考虑到多线程因素 #539

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xjacklove
Copy link

deleteLocalRefs 删除 localObjectMap未考虑到多线程因素(具体复现能在拼多多的libUserEnv.so)如:主线程还在用的元素,会被子线程给删除掉。解决方式:利用tid去创建和删除,将各个线程隔离开。查看代码,还有许多貌似的bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant