diff --git a/pom.xml b/pom.xml
index 36bd3fca5..14ef3704d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,7 @@
com.samskivert
samskivert
- 1.1
+ 1.3-SNAPSHOT
compile
diff --git a/src/main/java/com/threerings/presents/server/PresentsDObjectMgr.java b/src/main/java/com/threerings/presents/server/PresentsDObjectMgr.java
index d6277f671..5a6066cc3 100644
--- a/src/main/java/com/threerings/presents/server/PresentsDObjectMgr.java
+++ b/src/main/java/com/threerings/presents/server/PresentsDObjectMgr.java
@@ -428,6 +428,14 @@ public class PresentsDObjectMgr
}
}
+ /**
+ * Clears the current set of unit profiles.
+ */
+ public void clearUnitProfiles ()
+ {
+ _profiles.clear();
+ }
+
/**
* Called as a helper for ObjectDestroyedEvent events. It removes the object from
* the object table.
@@ -678,8 +686,8 @@ public class PresentsDObjectMgr
// do some jiggery pokery to get more fine grained profiling details on certain
// "popular" unit types
if (unit instanceof Interval.RunBuddy) {
- Interval ival = ((Interval.RunBuddy)unit).getInterval();
- cname = StringUtil.shortClassName(ival);
+ cname = StringUtil.shortClassName(
+ ((Interval.RunBuddy)unit).getIntervalClassName());
} else if (unit instanceof InvocationRequestEvent) {
InvocationRequestEvent ire = (InvocationRequestEvent)unit;
Class> c = _invmgr.getDispatcherClass(ire.getInvCode());