Fix concurrency issues in DataFixers
We are seeing issues with DataFixers being not thread safe in async chunks and even in some spigot packet sending code. There are a few more global objects that are mutated that need to be synchronized to be safe for use over multiple threads. There may be more cases, but these are extremely obvious ones.
This commit is contained in:
parent
f90c38b8f5
commit
d01d2d8cc5
2 changed files with 129 additions and 1 deletions
|
@ -84,7 +84,11 @@ for f in $files; do
|
|||
done
|
||||
|
||||
# Import Libraries - these must always be mapped manually, no automatic stuff
|
||||
|
||||
# group lib prefix files
|
||||
importLibrary com.mojang datafixerupper com/mojang/datafixers \
|
||||
schemas/Schema.java \
|
||||
DataFixerUpper.java \
|
||||
types/families/RecursiveTypeFamily.java
|
||||
|
||||
|
||||
# Temporarily add new NMS dev imports here before you run paper patch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue