aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0127-Remove-CraftScheduler-Async-Task-Debugger.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0127-Remove-CraftScheduler-Async-Task-Debugger.patch')
-rw-r--r--patches/server/0127-Remove-CraftScheduler-Async-Task-Debugger.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0127-Remove-CraftScheduler-Async-Task-Debugger.patch b/patches/server/0127-Remove-CraftScheduler-Async-Task-Debugger.patch
index 721f748db6..eff18e42d8 100644
--- a/patches/server/0127-Remove-CraftScheduler-Async-Task-Debugger.patch
+++ b/patches/server/0127-Remove-CraftScheduler-Async-Task-Debugger.patch
@@ -9,10 +9,10 @@ One report of a suspected memory leak with the system.
This adds additional overhead to asynchronous task dispatching
diff --git a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java
-index dc7872afbdd06eb976bee6aee56a40b44084c24a..af3997e47aff9c43dc5019f1b0267effe1df5205 100644
+index cf9f04e005940f5dd7baf50435f3703fa7c2d4f0..f1145585eed18be0aa5c795a50589103fdc9cc2f 100644
--- a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java
+++ b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java
-@@ -444,7 +444,7 @@ public class CraftScheduler implements BukkitScheduler {
+@@ -433,7 +433,7 @@ public class CraftScheduler implements BukkitScheduler {
}
this.parsePending();
} else {
@@ -21,7 +21,7 @@ index dc7872afbdd06eb976bee6aee56a40b44084c24a..af3997e47aff9c43dc5019f1b0267eff
this.executor.execute(new com.destroystokyo.paper.ServerSchedulerReportingWrapper(task)); // Paper
// We don't need to parse pending
// (async tasks must live with race-conditions if they attempt to cancel between these few lines of code)
-@@ -461,7 +461,7 @@ public class CraftScheduler implements BukkitScheduler {
+@@ -450,7 +450,7 @@ public class CraftScheduler implements BukkitScheduler {
this.pending.addAll(temp);
temp.clear();
MinecraftTimings.bukkitSchedulerFinishTimer.stopTiming(); // Paper
@@ -30,7 +30,7 @@ index dc7872afbdd06eb976bee6aee56a40b44084c24a..af3997e47aff9c43dc5019f1b0267eff
}
private void addTask(final CraftTask task) {
-@@ -525,10 +525,15 @@ public class CraftScheduler implements BukkitScheduler {
+@@ -514,10 +514,15 @@ public class CraftScheduler implements BukkitScheduler {
@Override
public String toString() {