if (Log.on) Log.log(this, "caught throwable in MessageQueue.run(); this should never happen");
if (Log.on) Log.log(this, " currentlyPerforming == " + currentlyPerforming);
if (Log.on) Log.log(this, " working == " + working);
if (Log.on) Log.log(this, "caught throwable in MessageQueue.run(); this should never happen");
if (Log.on) Log.log(this, " currentlyPerforming == " + currentlyPerforming);
if (Log.on) Log.log(this, " working == " + working);
- if (Log.on) Log.log(this, " lastfunc == " + lastfunc);
+ // FIXME - this currently calls compiledfunction.toString which gives more info than we need
+ // if (Log.on) Log.log(this, " lastfunc == " + lastfunc.getDescription());
if (Log.on) Log.log(this, " lastmessage == " + lastmessage);
if (Log.on) Log.log(this, t);
if (Log.on) Log.log(this, "resuming MessageQueue loop");
if (Log.on) Log.log(this, " lastmessage == " + lastmessage);
if (Log.on) Log.log(this, t);
if (Log.on) Log.log(this, "resuming MessageQueue loop");
if ((m != null && m == MessageQueue.currentlyPerforming) || MessageQueue.working) {
String what, where;
if (m != null && m instanceof ThreadMessage) {
if ((m != null && m == MessageQueue.currentlyPerforming) || MessageQueue.working) {
String what, where;
if (m != null && m instanceof ThreadMessage) {
- }
- if (Log.on) Log.log(this, "note: executing same " + what +
- " for " + (System.currentTimeMillis() - t) / 1000 + "s" +
- " at " + where);
+ }
+ long howlong = (System.currentTimeMillis() - t) / 1000;
+ if (howlong >= 5)
+ if (Log.on) Log.log(this, "note: executing same " + what + " for " + howlong + "s" + " at " + where);