9
0
mirror of https://github.com/Dreeam-qwq/Gale.git synced 2025-12-27 18:49:11 +00:00

201 Commits

Author SHA1 Message Date
Martijn Muijsers
fea609a45a Do not pre-poll chunk cache tasks 1.19.3 v0.2.0 2023-02-17 17:27:21 +01:00
Martijn Muijsers
230ce3db51 Warn if virtual threads are not enabled 2023-02-17 17:08:55 +01:00
Martijn Muijsers
e53e77c992 Ignore null or empty polled chunk cache tasks 2023-02-16 19:36:45 +01:00
Martijn Muijsers
e9e84c307f Update isUpdateOngoing Javadoc method reference 2023-02-16 17:10:23 +01:00
Martijn Muijsers
845755e5b7 Default to system threads instead of cores 2023-02-16 17:06:50 +01:00
Martijn Muijsers
a323665798 Updated Upstream (Paper) 2023-02-16 17:04:47 +01:00
Martijn Muijsers
85602beca4 Add ability to use virtual threads 2023-02-13 21:48:41 +01:00
Martijn Muijsers
a056d4338e Updated Upstream (Paper) 2023-02-13 20:34:58 +01:00
Martijn Muijsers
0601d22510 Pre-poll chunk cache tasks off the main thread 2023-02-13 00:26:00 +01:00
Martijn Muijsers
1fcd8018f9 Run chunk distance sorting updates off the server thread 2023-02-10 21:44:13 +01:00
Martijn Muijsers
b91976d7a3 Sort main thread chunk cache tasks by distance 2023-02-10 21:07:25 +01:00
Martijn Muijsers
f1503a7be7 Use new array level instances 2023-02-07 17:57:37 +01:00
Martijn Muijsers
51dd134421 Let threads take over update calls from the server thread 2023-02-07 17:55:33 +01:00
Martijn Muijsers
ac4ce86d65 Only notify one thread per unlocking event 2023-02-06 21:15:26 +01:00
Martijn Muijsers
25e9f8a3c5 Check for timeout in sub-task loop 2023-02-06 19:40:20 +01:00
Martijn Muijsers
f46c4f05d8 Enable SIMD for development runs 2023-02-06 19:23:49 +01:00
Martijn Muijsers
8a11cbe4e2 Use timeout instead of notifications after chunk worker task 2023-02-06 19:18:18 +01:00
Martijn Muijsers
c8675f646c Notify ServerChunkCache of completed chunk worker tasks to trigger chunk manager mid tick 2023-02-06 18:41:44 +01:00
Martijn Muijsers
2c62764cce Yielding ChunkTaskScheduler 2023-02-05 21:58:32 +01:00
Martijn Muijsers
4d37dc3a68 Watch for blocking base threads 2023-02-04 13:03:29 +01:00
Martijn Muijsers
4748199798 Fix base threads getting blocked by memoized Supplier
This notably also means:
* Base threads can only yield to a YIELDING task if they hold no YieldingLock
* Chunk worker tasks are considered YIELDING
2023-02-03 23:56:10 +01:00
Martijn Muijsers
db8621dcde Add multithreaded ticking configuration 2023-02-01 00:18:03 +01:00
Martijn Muijsers
6dafc7346a Fix race condition in call for update 2023-01-31 23:10:05 +01:00
Martijn Muijsers
fc90307492 Place non-blocking PooledObjects patch before cleaner on base thread pool patch 2023-01-31 22:54:59 +01:00
Martijn Muijsers
d79bdd54f5 Define server children tick steps 2023-01-31 22:45:28 +01:00
Martijn Muijsers
a73a9c4d74 Use halted field instead of circular method reference 2023-01-31 21:42:00 +01:00
Martijn Muijsers
a119bc901a Use lazily initialized tick steps 2023-01-31 21:33:08 +01:00
Martijn Muijsers
bd97f5b635 Flatten tick steps 2023-01-31 20:45:17 +01:00
Martijn Muijsers
6b001af4d6 Split level tick steps 2023-01-31 19:38:14 +01:00
Martijn Muijsers
38c90d2424 Split server tick steps 2023-01-31 19:11:50 +01:00
Martijn Muijsers
3a0f6e15c9 Note that we know chunk tasks are not tiny 2023-01-31 01:56:03 +01:00
Martijn Muijsers
6e52366b28 Separate PrioritisedQueueExecutorThread and agent common code 2023-01-31 01:44:19 +01:00
Martijn Muijsers
707b98e0e6 Apply a tiny AtomicBoolean optimization 2023-01-31 01:25:48 +01:00
Martijn Muijsers
7adc0b103c Use spin locks with easier syntax 2023-01-31 01:18:02 +01:00
Martijn Muijsers
4305e65af6 Move low priority async tier definition to base thread pool patch 2023-01-31 01:10:17 +01:00
Martijn Muijsers
5b292479af Run chunk worker tasks on base thread pool 2023-01-30 22:36:16 +01:00
Martijn Muijsers
eb069608f8 Separate more async task executor changes 2023-01-30 00:22:14 +01:00
Martijn Muijsers
cb3947474f Separate async and cleaner task executor changes 2023-01-29 23:25:41 +01:00
Martijn Muijsers
7d083321f0 Separate TickThread chunk task and chunk cache task executor changes 2023-01-29 22:54:01 +01:00
Martijn Muijsers
c99c917d7e Move empty ServerLevel array to reduce allocations patch 2023-01-29 22:13:18 +01:00
Martijn Muijsers
946f567282 Updated Upstream (Paper) 2023-01-29 22:10:08 +01:00
Martijn Muijsers
fc7959d664 Allow build with long filenames 2023-01-29 21:13:53 +01:00
Martijn Muijsers
746ffe916b Remove Lithium piston shape patch 2023-01-29 20:51:13 +01:00
Martijn Muijsers
c257de9e6c Unify added base pool threads 2023-01-29 20:02:37 +01:00
Martijn Muijsers
9eec5eae11 Fix null in villager data array 2022-12-27 03:40:50 +01:00
Martijn Muijsers
c50736febf Update README with unfinished tutorials 2022-12-27 03:30:37 +01:00
Martijn Muijsers
127188a192 Split branding and metrics patches 2022-12-26 13:48:49 +01:00
Martijn Muijsers
9a86c9cc68 Make saving fireworks configurable 2022-12-26 07:32:09 +01:00
Martijn Muijsers
f7f1c06f89 Make chat order verification configurable 2022-12-26 06:10:56 +01:00
Martijn Muijsers
c9c562cf7e Do not log out-of-order message warnings 2022-12-26 05:20:20 +01:00