ConcurrentModificationException during chunk feature placement
https://mclo.gs/ggLmUUH
Further stacktrace in logs shows the ConcurrentModificationException.
Log with mod list: https://mclo.gs/vUAb1r2
Error is observed in both single and multiplayer situations. This seems to be impacting LOD generation and causing extra CPU load
5 Replies
I don't think it is fixable
guessing here - is this bc LOD is trying to generate for chunks that are not themselves generated yet? So the overlap of timing causes issues?
LOD generation is multithreaded, the error happens if a thread generates a structure that has a part on a chunk on a different thread
Cross thread is ok though as long as whatever resource is handled properly? Via lock mechanism or other thread-safe behavior
Or would that slow things down too much and this exception is generally non harmful?
As far as I know it only takes space in logs and that is it