Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Blocking primitives cannot participate in safepoints #288
Adapt all known blocking primitives to unregister before, and reregister after a safepoint.
@daumayr could you have a look and see whether this fixes your issues?
We don't have benchmarks evaluating this change, so, I think, correctness is key, and if performance becomes an issue, we need to find more specific strategies, or optimizations for special cases.