I have a timer (instance of class PeriodicTimer) in my application and it is very important, that handlers associated with this timer fire as fast as possible. For this purpose I use a BoundAsyncEventHandler with a set nonheap flag and set its priority via its constructor to a high value (e.g. 55).
To make sure that the corresponding timer fires at the given time, I adjust its priority via -XX:RTSJHighResTimerThreadPriority=<priority> also to a high value (e.g. 55).
Are there any other possibilities to make sure, that my handler act as fast as possible when the timer fires? (next to: use ITC, no concurrent threads with such an high priority, avoid GC)