-
Patch
-
Resolution: Done
-
Major
-
None
-
None
We did some profiling of our JBoss AS instance and SimpleRole#equals(Object) showed up as a hot method. A lot of time seems to be spent in java.lang.Class.cast(Object). Switching to a normal Java cast should fix this since we're inside an instanceof and it always succeeds.