oakwookoak
oakwookoak
Explore posts from servers
JCHJava Community | Help. Code. Learn.
Created by oakwookoak on 1/3/2025 in #java-help
Threading issues
it got rejected for an unknown reason for me message search shows last PriorityBlockingQueue reference has been written in 2021
25 replies
JCHJava Community | Help. Code. Learn.
Created by oakwookoak on 1/3/2025 in #java-help
Threading issues
because it is too basic for us
25 replies
JCHJava Community | Help. Code. Learn.
Created by oakwookoak on 1/3/2025 in #java-help
Threading issues
probably show the code would be the best option for me... https://github.com/RelativityMC/FlowSched/tree/491bc6a731b724d44072bfb7d51eea3433214cb6
25 replies
JCHJava Community | Help. Code. Learn.
Created by oakwookoak on 1/3/2025 in #java-help
Threading issues
budget is 50ms and it completes in 7 seconds
25 replies
JCHJava Community | Help. Code. Learn.
Created by oakwookoak on 1/3/2025 in #java-help
Threading issues
millisecond per tick
25 replies
JCHJava Community | Help. Code. Learn.
Created by oakwookoak on 1/3/2025 in #java-help
Threading issues
well, i have to apologize first, im not a dev. additional information: we added spinwait in order to fix world saving times on windows, but this introduced mspt spikes when opening loot chest in shipwreck which contains treasure map and we reverted it.
// attempt to spin-wait before sleeping
if (!pollTasks()) {
Thread.interrupted(); // clear interrupt flag
for (int i = 0; i < 5000; i ++) {
if (pollTasks()) continue main_loop;
LockSupport.parkNanos("Spin-waiting for tasks", 10_000); // 100us
}
}
// attempt to spin-wait before sleeping
if (!pollTasks()) {
Thread.interrupted(); // clear interrupt flag
for (int i = 0; i < 5000; i ++) {
if (pollTasks()) continue main_loop;
LockSupport.parkNanos("Spin-waiting for tasks", 10_000); // 100us
}
}
25 replies
JCHJava Community | Help. Code. Learn.
Created by oakwookoak on 1/3/2025 in #java-help
Threading issues
server suffers huge server lag spikes because we have to wake up sleeping io threads example: we have one sudden job to complete and io threads are sleeping at this moment
25 replies
DHDistant Horizons
Created by NobleLynx on 12/22/2024 in #help-me
failed to save chunk popup
you can turn it off with recoverFromErrors set to true in c2me toml
13 replies
DHDistant Horizons
Created by NobleLynx on 12/22/2024 in #help-me
failed to save chunk popup
if you are installed c2me and upgraded the world, datafixer errors prevents chunks from saving
13 replies
DHDistant Horizons
Created by TheEpicChunk on 12/3/2024 in #help-me
first time using mod and im having trouble getting it to work
dh have the own
33 replies
DHDistant Horizons
Created by TheEpicChunk on 12/3/2024 in #help-me
first time using mod and im having trouble getting it to work
you installed c2me which changes ingame settings slider
33 replies
DHDistant Horizons
Created by oakwookoak on 9/6/2024 in #bug-report
Fake mushrooms in LOD's
there are fake mushrooms on other places.
18 replies