aboutsummaryrefslogtreecommitdiff
path: root/spark-sponge/src
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-sponge/src
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-sponge/src')
-rw-r--r--spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java b/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java
index 24a43b9..b67aff8 100644
--- a/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java
+++ b/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java
@@ -41,10 +41,10 @@ public class SpongeTickCounter implements TickCounter, Runnable {
@Override
public void run() {
- this.tick.increment();
for (Runnable r : this.tasks){
r.run();
}
+ this.tick.increment();
}
@Override