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

When working with multiple Threads the method cache might encounter race conditions #142

Open
janehmueller opened this issue May 10, 2021 · 0 comments

Comments

@janehmueller
Copy link
Contributor

When working with multiple threads (e.g., Java Swing drawing thread) the method cache can encounter a race condition, where the lookup result of one thread is modified by another thread before it is returned. This can cause any kind of errror.

An example fix is here: https://github.com/hpi-swa-lab/trufflesqueak-java-ui/commit/49129896adc9b4fb4bef31eec6d078e696d429ff

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

No branches or pull requests

1 participant