Details
-
Task
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
Doing some profiling, there are a lot of unnecessary allocations occurring in InmemoryTimerInternals:
1) Every WindowTracing.trace call calls getClass().getSimpleName() which searches the class name for a "." and then creates a substring which is then discarded if tracing is not on. This can be cached easily.
2) In setTimer, the column key (timerData.getTimerId() + '+' + timerData.getTimerFamilyId()) is computed twice each time which involves string builders, appends, etc...