diff --git a/src/java/com/samskivert/util/Invoker.java b/src/java/com/samskivert/util/Invoker.java index f90fad85..8dcc3f1b 100644 --- a/src/java/com/samskivert/util/Invoker.java +++ b/src/java/com/samskivert/util/Invoker.java @@ -184,9 +184,6 @@ public class Invoker extends LoopingThread if (PERF_TRACK) { // record the time spent on the queue as a special unit start = System.currentTimeMillis(); - synchronized (this) { - _unitsRun++; - } // record the time spent on the queue as a special unit recordMetrics("queue_wait_time", start - unit.queueStamp); } @@ -326,9 +323,6 @@ public class Invoker extends LoopingThread /** Tracks the counts of invocations by unit's class. */ protected HashMap _tracker = new HashMap(); - /** The total number of invoker units run since the last report. */ - protected int _unitsRun; - /** Default size of buckets to use when profiling unit times. */ protected int _profileBucketWidth = 50;