Files
Paper/Spigot-Server-Patches
Aikar efb4b6ef8b Improve synchronization on chunk gen to not block main - Fixes #1550
Chunk Generation was occuring while inside of the progressCache lock
this caused the progressCache to stay blocked for a long period of time
which then blocked main when main needed to clean the expiring map.

We now maintain a separate map for pending scheduler entries, that
we can join on if a 2nd request comes in while one is starting.

This strategy keeps the lock only for a fraction of time but
maintains thread safety.

So now the chunk is generated without holding a lock and wont
block the main thread on the expiring map as we will insert it
once ready.
2018-10-08 00:45:04 -04:00
..
2018-07-20 20:57:43 +01:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-08-26 14:11:49 -04:00
2018-07-23 09:39:55 +01:00
2018-07-23 09:39:55 +01:00
2018-08-26 14:11:49 -04:00