Philippe Marschall created SECURITY-787:
-------------------------------------------
Summary: Speed up SimpleRole#equals
Key: SECURITY-787
URL:
https://issues.jboss.org/browse/SECURITY-787
Project: PicketBox
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: JBossSX
Reporter: Philippe Marschall
Assignee: Stefan Guilhen
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira