You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Derek Bruening's PhD thesis describes a system for invalidating code blocks (called "fragments") across multiple thread. The relevant part starts on page 156.
However it is quite complex: you need to be able to hotpatch branch instructions and update lookup tables while another thread is executing translated code. At that point it might be worth simply switching to a single shared code cache, which has many other benefits. See this paper for details on implementing a thread-shared code cache." (via @Amanieu)
The text was updated successfully, but these errors were encountered:
Follow up from #705
"Derek Bruening's PhD thesis describes a system for invalidating code blocks (called "fragments") across multiple thread. The relevant part starts on page 156.
However it is quite complex: you need to be able to hotpatch branch instructions and update lookup tables while another thread is executing translated code. At that point it might be worth simply switching to a single shared code cache, which has many other benefits. See this paper for details on implementing a thread-shared code cache." (via @Amanieu)
The text was updated successfully, but these errors were encountered: