Commit Graph

134 Commits

Author SHA1 Message Date
TheMode
5ef4d0f9b4 Reduce the overhead of converting chunk indexes to chunk object, dont tick empty entity list 2021-04-09 18:22:29 +02:00
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
themode
37a626121b Set the default thread provider thread count to PROCESSORS*2 2020-11-17 02:56:55 +01:00
themode
0abedd7453 Optimization to prevent permanent map lookup 2020-11-14 09:02:29 +01:00
themode
ade727cd0f Cleanup + created SingleThreadProvider 2020-11-13 19:43:22 +01:00
themode
0ab9c79a28 Prevent array resizing during server tick 2020-11-13 03:26:35 +01:00
themode
1d30e6e953 Use the Validator interface when possible for readability 2020-11-07 04:28:50 +01:00
themode
6e36f3242d Added InstanceContainer#copy and Chunk#copy 2020-10-31 19:22:23 +01:00
themode
00ce2be258 Fixed shared instances tick being called 2 times 2020-10-31 02:55:55 +01:00
themode
419541b878 UpdateManager comments + synchronization fix 2020-10-22 15:57:27 +02:00
themode
3cb880cf80 General cleanup 2020-10-22 12:55:53 +02:00
themode
660a67e53e English fix 2020-10-15 21:16:31 +02:00
themode
f1dccfacc3 Fixed instance ticks not being executed if the chunk list is empty 2020-10-13 04:10:37 +02:00
themode
04498ed0f0 Chunk code cleanup & optimization 2020-10-05 10:03:25 +02:00
themode
cb52a9d119 PerGroupChunkProvider cleanup 2020-09-03 20:52:21 +02:00
themode
78dd2cb005 Fix tick update for SharedInstance 2020-09-01 20:20:46 +02:00
themode
8b30caa8c8 Micro optimization + cleanup 2020-08-19 01:24:51 +02:00
themode
e5e1d1614b Optimize chunk index to coordinate conversion + made the chunk map in InstanceContainer using long primitive but non-concurrent, requiring synchronization 2020-08-17 16:50:23 +02:00
Eoghanmc22
284613a1a8 fix merge 2020-08-15 10:00:50 -04:00
Eoghanmc22
1b7641c0e1 Merge branches '1.16.2' and 'master' of https://github.com/Minestom/Minestom
 Conflicts:
	src/main/java/net/minestom/server/UpdateManager.java
	src/main/java/net/minestom/server/thread/PerGroupChunkProvider.java
	src/main/java/net/minestom/server/thread/PerInstanceThreadProvider.java
2020-08-14 20:52:34 -04:00
Felix Cravic
0d4689a367 Optimize thread providers 2020-08-15 01:18:49 +02:00
Felix Cravic
0dd454985f Added list initial capacity 2020-08-14 15:15:16 +02:00
Eoghanmc22
d12618af0f Fix concurrent modify exception. 2020-08-13 18:50:57 -04:00
Eoghanmc22
7aaf6a6ec8 Fix ticks 2020-08-10 19:41:14 -04:00
Felix Cravic
c2165abe1f Added ChunkUtils#isLoaded + optimization of the thread providers 2020-08-10 11:32:03 +02:00
Felix Cravic
13275eb534 Fixed synchronization with unloaded chunks 2020-08-10 08:55:01 +02:00
Felix Cravic
008002f11b WIP synchronization fix + updated hydrazine 2020-08-10 07:24:43 +02:00
Felix Cravic
63ed21380c Fixed number arguments 2020-08-09 10:59:12 +02:00
Felix Cravic
45fd0dc22a Comments 2020-08-07 09:14:50 +02:00
Felix Cravic
920a16300e Fixed PerGroupChunkProvider 2020-08-06 18:32:56 +02:00
Felix Cravic
a38a143bba Rework of the thread provider + ConnectionManager#getPlayer for UUID 2020-08-06 16:28:04 +02:00
Felix Cravic
c74ce2752c Cleanup 2020-08-03 10:35:46 +02:00
Felix Cravic
086c9738b1 Very early chunk group based thread 2020-08-02 11:37:39 +02:00
Felix Cravic
87921a8788 Added ThreadProvider 2020-07-03 16:44:21 +02:00