TheMode
|
8d7175af73
|
Replace thread locals to pool (#1079)
|
2022-05-16 07:34:47 +02:00 |
|
themode
|
edabb19891
|
Explicit fences
|
2022-03-25 10:12:04 +01:00 |
|
themode
|
b43c404ed2
|
Never-mind
|
2022-03-04 05:33:46 +01:00 |
|
themode
|
ad3e723437
|
CAS to reset acquiring time
|
2022-03-04 05:31:50 +01:00 |
|
themode
|
d7af91b603
|
Reduce field lookup
|
2022-02-23 04:10:34 +01:00 |
|
themode
|
6ef04ae618
|
Add assert for tick park
|
2022-02-20 17:44:22 +01:00 |
|
themode
|
ab2fee2bac
|
Synchronize updateAndAwait
|
2022-02-13 19:36:29 +01:00 |
|
themode
|
2608071ee4
|
Use method reference to create tick threads
|
2022-02-13 18:11:15 +01:00 |
|
themode
|
36c27cbe05
|
Fix rare case where the phaser gets terminated on ARM cpus
|
2022-02-13 15:52:01 +01:00 |
|
TheMode
|
0934c8ef16
|
counter thread provider should never update partitions
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-02-05 06:17:04 +01:00 |
|
themode
|
8778e32700
|
Extract constant tick time
|
2022-01-21 10:10:24 +01:00 |
|
themode
|
ae377307c7
|
unused constructors
|
2022-01-21 09:53:26 +01:00 |
|
TheMode
|
e979d71dee
|
Update & test acquirable api
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-17 14:24:37 +01:00 |
|
TheMode
|
2ef1902664
|
Remove MinestomThreadPool, use the common pool for generation
Signed-off-by: TheMode <themode@outlook.fr>
|
2022-01-12 22:37:35 +01:00 |
|
themode
|
d7d6721474
|
Better names
|
2022-01-12 12:02:20 +01:00 |
|
themode
|
1eb5c8519d
|
Fix chunks not being GCed
|
2022-01-12 11:59:42 +01:00 |
|
TheMode
|
5bbf4642e8
|
Server process (#550)
|
2022-01-10 16:51:21 +01:00 |
|
TheMode
|
da69526f49
|
Dispatcher testing (#570)
|
2022-01-10 16:51:21 +01:00 |
|
themode
|
5d78a5d996
|
Real fix
|
2022-01-10 16:51:21 +01:00 |
|
themode
|
660994443b
|
Fix MinestomThread local cache
|
2022-01-10 16:51:21 +01:00 |
|
themode
|
b17c66e339
|
Improve thread dispatcher update
|
2022-01-10 16:51:21 +01:00 |
|
TheMode
|
bf5c5aa479
|
Improve thread provider for chunk & instance
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-11-17 23:49:47 +01:00 |
|
TheMode
|
0f4698bed7
|
Potentially fix removed entities from still being ticked
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-10-11 23:38:32 +02:00 |
|
TheMode
|
9fe3f28497
|
Improve ThreadLocal performance when calling from a minestom thread
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-25 19:37:14 +02:00 |
|
themode
|
1d8addaea6
|
Prevent TickThreads from stopping if something weird happens
|
2021-09-21 21:31:02 +02:00 |
|
TheMode
|
860c6b21d1
|
Remove threadChunkMap
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-20 13:31:45 +02:00 |
|
TheMode
|
2589cc4f3e
|
Inline TickThread tick method
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-16 06:21:45 +02:00 |
|
TheMode
|
aa33e2256c
|
Remove useless map lookup
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-15 17:45:09 +02:00 |
|
TheMode
|
0e8c07a811
|
Simplify ThreadDispatcher even further
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-15 17:33:01 +02:00 |
|
TheMode
|
7f463cdf94
|
Cleanup
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-15 14:54:11 +02:00 |
|
TheMode
|
a0c38b94c6
|
Avoid unnecessary thread local lookup for acquirable entities
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-15 14:41:01 +02:00 |
|
TheMode
|
8fce62ccba
|
Simplify tick loop
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-14 04:36:10 +02:00 |
|
TheMode
|
527141df74
|
Nvm, the barrier is not necessary
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-12 23:44:53 +02:00 |
|
TheMode
|
ecd2200e1a
|
Insert barrier
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-12 23:22:32 +02:00 |
|
TheMode
|
d9c32fe198
|
Improve TickThread
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-12 23:20:22 +02:00 |
|
TheMode
|
06d8586f7f
|
Improve the thread provider api
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-12 22:55:37 +02:00 |
|
TheMode
|
42f4678db0
|
More style
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-11 06:13:48 +02:00 |
|
TheMode
|
0f2d850dce
|
More Throwable handling
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-09-01 17:15:49 +02:00 |
|
TheMode
|
91a01a23b6
|
Use for-each instead of lambda
|
2021-07-15 20:09:13 +02:00 |
|
TheMode
|
9db185f8a1
|
Catch exceptions in instance/chunk/entity ticks
|
2021-07-11 16:56:27 +02:00 |
|
TheMode
|
b546a873e3
|
Remove unnecessary cast
|
2021-07-09 11:23:18 +02:00 |
|
TheMode
|
37ab206cb1
|
ThreadProvider cleanup
|
2021-07-09 11:20:49 +02:00 |
|
TheMode
|
2e8b3477bf
|
Improve tick scheduling
|
2021-07-01 00:34:58 +02:00 |
|
TheMode
|
997e35459e
|
Do not use the thread as blocker
|
2021-06-30 23:34:21 +02:00 |
|
TheMode
|
df38061c6b
|
Inline condition
|
2021-06-15 02:54:03 +02:00 |
|
TheMode
|
0c0b387345
|
Use a for-each loop, and prevent iterator allocation when empty
|
2021-06-15 02:29:58 +02:00 |
|
TheMode
|
5d8ed5041f
|
Use AtomicReferenceFieldUpdater to update the tick context
|
2021-06-04 22:30:35 +02:00 |
|
TheMode
|
fb03b953bb
|
Tick scheduling micro-optimization
|
2021-05-07 20:41:40 +02:00 |
|
TheMode
|
929a377dc0
|
Fix Acquirable#currentEntities
Signed-off-by: TheMode <themode@outlook.fr>
|
2021-04-27 12:16:38 +02:00 |
|
themode
|
e54f685ff9
|
Fix javadoc build
|
2021-04-26 18:36:04 +02:00 |
|