SIGN IN SIGN UP

gh-136870: fix data races in instrumentation of bytecode (#136994)

De-instrumenting code objects modifies the thread local bytecode for all threads as such, holding the critical section on the code object is not sufficient and leads to data races. Now, the de-instrumentation is now performed under a stop the world pause as such no thread races with executing the thread local bytecode while it is being de-instrumented.
K
Kumar Aditya committed
9a6b60af409d02468b935c569a4f49e88c399c4e
Parent: 2456715
Committed by GitHub <noreply@github.com> on 7/24/2025, 5:58:46 PM