aboutsummaryrefslogtreecommitdiff
path: root/spark-forge/src/main/java
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2018-06-29 22:58:19 +0100
committerLuck <git@lucko.me>2018-06-29 22:58:19 +0100
commitfa2a1e5661ef40323a36283fbf913b6a1258950b (patch)
tree17dbe91c52a9a8080036e1e2463490ea2e867adb /spark-forge/src/main/java
parent4e150e2ff03181b32b6fcfdbd9c6253fc099fa58 (diff)
downloadspark-fa2a1e5661ef40323a36283fbf913b6a1258950b.tar.gz
spark-fa2a1e5661ef40323a36283fbf913b6a1258950b.tar.bz2
spark-fa2a1e5661ef40323a36283fbf913b6a1258950b.zip
Implement GC notifications as part of the monitoring command
Diffstat (limited to 'spark-forge/src/main/java')
-rw-r--r--spark-forge/src/main/java/me/lucko/spark/forge/ForgeTickCounter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-forge/src/main/java/me/lucko/spark/forge/ForgeTickCounter.java b/spark-forge/src/main/java/me/lucko/spark/forge/ForgeTickCounter.java
index 1a86014..ab45182 100644
--- a/spark-forge/src/main/java/me/lucko/spark/forge/ForgeTickCounter.java
+++ b/spark-forge/src/main/java/me/lucko/spark/forge/ForgeTickCounter.java
@@ -50,10 +50,10 @@ public class ForgeTickCounter implements TickCounter {
return;
}
- this.tick.increment();
for (Runnable r : this.tasks){
r.run();
}
+ this.tick.increment();
}
@Override