PaperMC/Folia

Strict Thread Safety Checks in Plugin Development

Opened this issue · 0 comments

Is your feature request related to a problem?
Ensuring thread safety is critical, especially to avoid race conditions in multi-threaded environments.

Describe the solution you'd like:
a mode with strict thread checks everywhere, ensuring we are doing things correctly to avoid race conditions.
For example thread checks EVERYWHERE where cross region access occurs, maybe plugin scanning for non thread-safe collections (silly idea maybe), stuff like that.